(From the perldoc:)
You could then do an s/$re//og, once you've built $re for your set of strings. --use Regex::PreSuf; my $re = presuf(qw(foobar fooxar foozap)); # $re should be now 'foo(?:zap|[bx]ar)'
In reply to Re: Multiple Regex, it works but it aint clever
by RMGir
in thread Multiple Regex, it works but it aint clever
by alexiskb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |