i need a preg_match() syntax or something similar to extract JPG or PNG or GIF URLs from a m
preg_match()
$matches = array(); preg_match_all('!http://.+\.(?:jpe?g|png|gif)!Ui' , $string , $matches);