Hi Guys,
I have a very important problem
Let's say i have HTML page with the following content:
I want to retrieve all links in this string. I use the following pattern matching to retrieve links:
$TMPPattern = "/(href|HREF)=[\"|\'](.*)[\n|\r|\"|\']/iU";
preg_match_all($TMPPattern, $String, $ArrayMatches, PREG_SET_ORDER)
This pattern only retrieves "href" and their values. I want more advanced pattern which will return both "href" and "name" parameters and their values. How can i do this? Help!!!
Thanks!