I have a file with a list of emails in it and each line has an email in it. I want to remove lines that contain the string
I tried this:
sed -i 's/example\.com//ig' file.txt
But it will remove only the string
example.com, how can I remove the entire line?