look for several patterns in the file and delete the line if the pattern matches


For ex, a file contain contents: raj mum mum guj raj raj

I want to search and in the above file and delete line if pattern matches.

Also i want to do this in single command.

Another solution:

 awk '!/|' file