in reply to Removing underline tags with regexp

Or one simple regex replace
s{</?u>}()ig;
See. perlre for more info.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: Removing underline tags with regexp
by tachyon (Chancellor) on Sep 02, 2003 at 11:40 UTC

    To be as robust as possible with a RE

    s!<\s*/?\s*u\s*>!!ig;

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print