Hello, I have grabbed some html from a site, lets say yahoo and am tryin to get all the links in that page....the following code does not work
preg_match_all("<a href=\"(.+)\".>.<\/a>", $test_arr, $out_test);
while(list(,$each_link) = each($out_test[1]))
echo "$each_link<Br>";
I always get the error
Warning: Unknown modifier '.' in /mysite/newsgrabber.php on line 68
what is wrong with my regex ??
$test_arr contains the html page
$out_test is array of links