in reply to Re^2: Quick regex substitution question
in thread Quick regex substitution question

Part of your problem is your attempt to escape the semicolons. They're NOT end_of_statement markers to Perl or its regex engine when inside a quoted string. You may also want to read about using '!' as a negation.

  • Comment on Re^3: Quick regex substitution question