hi all,
I need some help with regular expression, what I want is to take all the code from the <h1> tag and separate it. here is what I want
there is alot of html code and tags such as <img> <br><p> etc etc// but I only want to extract all <h1> tags data..
<h1><a href="http://yahoo.com/" target="_blank" class="myClass">my keyword</a></h1>
I want to have the URL/link receive in $url variable and anhor in $anchor variable..
thank you.