Hi
I would like to extract all urls from a html page using php.
I am currently using
preg_match_all("|href=\"(.*)\">|U",$contents,$urls);
but it seems to take the entire html of the page starting from the first href= all the way to the last position where there is a >
Any ideas? I dont know much abt regular expressions!
regards,
Mario