use strict; use warnings; my $string = 'XXXXXXXXXXABXXXXXXXXX'; my ($match) = $string =~ m/X{10}([AB]{2})X{9}/; print $match;
OUTPUT:
ABUPDATE: Added Output
In reply to Re: Regex Pipe Return
by BillKSmith
in thread Regex Pipe Return
by TapTapTaperoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |