do what you want? From the perlre description, it looks like a negative lookahead is exactly what you're looking for (pun somewhat intended...)/^(?!FOO)/
In reply to Re: regex negation without !~
by RMGir
in thread regex negation without !~
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |