in reply to Match with line without a word

It's easiest to do it in two regexes: print the line if it matches Exception and not matches Exception : CEX.