while (my $regex = <FILE>) { chomp $regex; if (length($regex) > 1 && $sampletext =~ $regex) { ... } }
In reply to Re: Reading and executing RegExp from text file
by JavaFan
in thread Reading and executing RegExp from text file
by KLassesen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |