in reply to Regular Expression

Did you try escaping the < or the >?

$_ =~ s/\<IT\>\<\/IT>//gi works for me.

Danny

Replies are listed 'Best First'.
Re: Re: Regular Expression
by qq (Hermit) on Apr 20, 2004 at 11:51 UTC

    You don't need to escape the angle brackets. Escaping a regular character has no effect at all. It will match the same as without the escape.