in reply to Re^3: Regex to remove generic accountsin thread Regex to remove generic accounts
Take a look at the sub-section Look-Around Assertions in the section on Extended Patterns in perlre.