Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
s/&([a-zA-Z]{2,6};|#[0-9]{3};)/&$1/gi;
How can I expand this so that the replacement only happens inside TEXTAREAs?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML Entities RegEx
by dragonchild (Archbishop) on May 26, 2004 at 18:56 UTC | |
|
Re: HTML Entities RegEx
by Zaxo (Archbishop) on May 26, 2004 at 18:56 UTC | |
|
Re: HTML Entities RegEx
by Roy Johnson (Monsignor) on May 26, 2004 at 18:57 UTC | |
|
Re: HTML Entities RegEx
by jryan (Vicar) on May 26, 2004 at 19:46 UTC |