like this:
NOTE: That this would only work if there are no other string that start with '9' in your dataset.for (qw( 9759-222-sdfgh1-001-aaa-1234-abc 8898-222-sdfgh1-001-aaa-1234-abc 1234-222-sdfgh1-001-aaa-1234-abc )){ print $_,$/ if!/^9/; }
In reply to Re: PCRE help with negative match
by 2teez
in thread PCRE help with negative match
by Oolankaloophid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |