Hi All,
I am running a preg_match on this
valign='top'>Website: </td><td class='attribute-value'><a href='http://www.website.com'>name of website</a></td></tr><tr class='attribute'><td class='attribute-label'
I want to capture the website address. The code I am using is:
preg_match('|Website: </td><td class=\'attribute-value\'><a href=\'mailto:(.*)\'>|im', $result1, $match2);
The regex starts fine, it begins at the beginning of the website, but it does not stop at '> and continues on far down the website.
Any idea how to stop a regex at '>?