Ver original<?php$str = file_get_contents('http://www.google.com.pr/search?q=foo');preg_match('/<div id=resultStats>(.*?)<\/div>/is', $str, $m);echo $m[1];