View Single Post
Old 03-11-2006, 04:38 PM  
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
Code:
preg_match_all("|src\=\"?'?`?([[:alnum:]:?=&@/._+-]+)+\.(gif|GIF|jpg|JPG)\"?'?`?|i", $string, $matches);
might work. but i didnt test it. it would only check for gifs and jpegs though.

Last edited by Why; 03-11-2006 at 04:39 PM.. Reason: php to code
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote