Trying to find the links on a page.
my regex is:
/]*href=(\\\"\\\'??)([^\\\"\\\' >]*?)[^>]*>(.*)<\\/a>/
preg_match_all("/(]>)(.?)(
It is tested and it fetch all a tag from any html code.