How to skip lines matching a string

Viewed 26816

I'm new to sed, so maybe someone can help me out. I'm modifying some files and want to skip all lines that have the strings "def" or "page." on them. How do I do this in sed?

2 Answers
Related