I am currently matching for \"Exception\" from a file, and output 10 lines before and after using:
grep -C 10 \"[.*Exception\"
If you have grep -P you can specify a negative lookbehind assertion.
grep -P
grep -C 10 -P '\[.*(?