Take a look at the sub-section Look-Around Assertions in the section on Extended Patterns in perlre.
In reply to Re^4: Regex to remove generic accounts
by AnomalousMonk
in thread Regex to remove generic accounts
by impalanator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |