I have PHP variable that contains string like:
http://domain.com/uploads/image1.jpg|||http://domain.com/uploads/image2.jpg|||http://domain.com/uploads/image3.jpg|||...
I need to get first one image url from that string, so it will be string until first "|||" characters. So result i need to get into variable is: http://domain.com/uploads/image1.jpg
Please help me to write correct PHP preg_match regexp pattern for it.
Thank you! Tim