Wednesday, June 1, 2016

Remove lines with a particular character within Notepad++

Notepad++ has a feature to remove lines within a text file that includes a particular character.  To start the process, use Control + F to open the Find dialog box.  Access the Mark tab.  Enable the Bookmark line option.  Enter the character to search for.  Click on the Mark All button.  This should select the line or lines within the main window.

notepad  _1

Under Search –> Bookmark, use the option Remove Bookmarked Lines.

notepad  _2

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.