I am trying filter out couple of blocks of text that keep repeating over and over in my log file. For eg;
grep -v ("string one that I don't want" \| "string two that I don't want") file.log
I tried several variations of this and tried tweaking the white spaces . Sometimes it will filter out the first string sometimes neither. What will be the correct format to filter out more than one block of text using grep ?