I am looking for a notepad++ regexp that contains a specific string. I then want to delete this whole line.
|
feedback
|
|
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. ;) | |||
|
feedback
|
|
To find multiple strings on the same line you can use | ||||
|
feedback
|
\nor\r\nat the ends of them (depending on the convention being used), and them make the replacement string nothing. – martineau Jan 25 '11 at 12:05