in reply to Regular Expression
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regular Expression
by perlinit (Initiate) on Apr 19, 2004 at 19:41 UTC |