And then later on in your other loop, do this:use Regexp::List; my $l = Regexp::List->new; my $re = $l->list2re(@swearwords);
$text =~ s/$re/****/g;
In reply to Re: array of MySQL data for substitution
by cazz
in thread array of MySQL data for substitution
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |