I am looking for a notepad++ regexp that contains a specific string. I then want to delete this whole line.
Well I don't think you can do it with one search-replace.
I'd do this.
Open up the search-replace, choose mode regex and search for:
Then switch to the extended search and search for
There's probably a neater way to do it but this works.
Edit: and oh, check the first line of the document too for a line with only the unwanted string as this will miss those. As said, there's probably a better way. ;)
To find multiple strings on the same line you can use