I realize it's feasible to coordinate with a word and afterwards switch the matches utilizing different tools (for example
grep - v
). In any case, is it possible to coordinate with lines that don't contain a particular word, for example,
hede
, utilizing a standard expression?
Input:*
*hoho
hihi
haha
hede
*Code:*
grep "<Regex for 'doesn't contain hede'>" input
*Desired output:*
hoho
hihi
haha