I have bunch of html and I need to get all the anchors and the anchor value using Regular Expression.
This is sample html that I need to process:
<P align=center><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10px"><SPAN style="COLOR: #666666">View the </SPAN><A href="http://www.google.com"><SPAN style="COLOR: #666666">online version</SPAN></A><SPAN style="COLOR: #666666"> if you are having trouble <A name=hi>displaying </A>this <a name="msg">message</A></SPAN></SPAN></P>
So, I need to be able to all <A name="blah">
.
Any help is greatly appreciated.