Hope this helps,chomp (@blocked); my $regex = join "|", map{ quotemeta($_) } @blocked; if( $FORM{'comments'} =~ /$regex/){ ... }
In reply to Re: Blocking based on words in a list
by myuji
in thread Blocking based on words in a list
by matts156
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |