Regular Expression for HTML URL
Posted: Wed Sep 10, 2003 7:43 pm
I need to remove all html url's from a document. This is what I have currently:
<a href="http://www.blah.com">www.blah.com
<a href="http://www.dodo.com:>www.dodo.com
etc....
I already removed the </a>, but I also need to remove all the <a href="www.variables_sites.com"> references. Since these are the only elements between the <>'s I figured I could just create something to remove all instances of "<anything in between>", but I couldn't figure it out.
Thanks
<a href="http://www.blah.com">www.blah.com
<a href="http://www.dodo.com:>www.dodo.com
etc....
I already removed the </a>, but I also need to remove all the <a href="www.variables_sites.com"> references. Since these are the only elements between the <>'s I figured I could just create something to remove all instances of "<anything in between>", but I couldn't figure it out.
Thanks