Regexp whining
Posted: Thu Dec 09, 2004 11:44 am
I'm ashamed but i'm too stupid to learn regexp properly.
I'd like to remove all the links from html, but leave the text, underlined.
I need to replace all "<A HREF_anything_until_>" with <U> with regexp i hope someone can provide.
The closing </a> i can replace with str_replace.
I'd like to remove all the links from html, but leave the text, underlined.
I need to replace all "<A HREF_anything_until_>" with <U> with regexp i hope someone can provide.
The closing </a> i can replace with str_replace.