Check for whitespace perhaps? Do those tags perhaps span lines? Does $_ still contain what you expect it to contain?
Update: Thanks you ysth for the correction.$_ =~ s/<IT>\s*<\/IT>//gi;
In reply to Re: Regular Expression
by pbeckingham
in thread Regular Expression
by perlinit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |