in reply to
regex for swear filter
Note that there is already a CPAN module dealing with your application:
Regexp-Common-profanity_us-2.2
. It may be easier and less error prone to use the module, or to at least to mine it for good tips.
-Mark
Comment on
Re: regex for swear filter
In Section
Seekers of Perl Wisdom