How do you search and delete a line (not replace) from multiple files in a directory tree? I have tried programs such as grepWin and Windows Grep but they replace lines, they do not delete the entire line. What is my best option?
Example: Search for "hello" and delete any line with "hello" in it.
yo
hello hey hey
hi hello
bye
bye
should come back
yo
bye
bye