I know it's possible to match a word and then reverse the matches using other tools (e.g.
grep -v). However, is it possible to match lines that do not contain a specific word, e.g. "hede", using a regular expression?
hoho hihi haha hede
grep "<Regex for 'doesn't contain hede'>" input
hoho hihi haha