Regex: Remove lines containing

This is also possible with Notepad++

Goto the search menu Ctrl+F and there to the “Mark” tab. Check “Bookmark
line” (if there is no “Mark” tab update to the current version).

Then just enter your search term and click “Mark All”

==> All line containing the search term are bookmarked.

Now go to the Menu “Search -> Bookmark -> Remove Bookmarked lines”

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *