'Only shows those lines that contain a keyword or don't

When you search in pspad, you can click copy and activate "copy lines without matches".

That only copies those lines that contain a keyword or don't to a new window.

How do I accomplish the same in notepad++?



Solution 1:[1]

  • Ctrl+M
  • Find what: keyword
  • CHECK Bookmark lines
  • Mark all

You can inverse bookmarks:

  • Search menu > Bookmark
  • Inverse bookmark

Screenshot:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Toto