1. /\QXFGHWW\E/
2. /([^-.]{3})/
together:
$_ = 'KLEWREGREG-----REGREGEWD....-EWGREGERABCSHRE..----...XFGHWW'; /([^-.]{3})[-.]*\QXFGHWW\E/; print $1;
In reply to Re: Pattern matching forwards/backwards???
by Crian
in thread Pattern matching forwards/backwards???
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |