Small script to extract the images from a text or HTML.

$html=file_get_contents("http://neo22s.com");
$imgsrc_regex = '!http://.+\.(?:jpe?g|gif|png)!Ui';
preg_match($imgsrc_regex, $html, $matches);
print_r ($matches);