my $extract = $1 if $text =~ /^(.*?)($end1|$end2|$end3)/;
-Mark
In reply to Re: finding position of first occurence of 3 different stopping criteria
by kvale
in thread finding position of first occurence of 3 different stopping criteria
by imlou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |