A Google search may return thousands of results on ways to delete all the lines that have a specific word in Notepad++. However, it is inconvenient that most of these methods involve regular expressions. I am going to offer you a simpler solution. Note that the task is not to delete all instances of a single word, the task is to get rid of each and every line that contains a specific word.
Here are detailed instructions with pictures of how to do this:
1. Open the file in Notepad++ and press Ctrl + f to search for the desired word in the tab “Mark”:
2. After you’ve done this, each line with the desired word in it will be marked. The last step is to remove these lines. To do this, click Search > Bookmark and then click “Remove Bookmarked Lines”:
Done! That’s as simple as it gets.