http://qs321.pair.com?node_id=500459


in reply to Why am I getting so many issues with REGEX!!!!

I just can't believe that I have been on this simple problem for WEEKS!!!!!

Have you tried looking to CPAN for help? It looks like you're parsing a configuration file for a router/switch, which is a problem well-solved by packages already available on CPAN. Taking an educated guess, Cisco-Reconfig might save you some work.