How to remove selective lines in Notepad++


I wanted to remove selective lines from Notepad++. The problem was, except for one word, all other words in the line were different to each other. Below steps helped me to accomplish this task.

 

  • 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.

Source: http://stackoverflow.com/questions/5876296/regex-remove-lines-containing

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s