Its a simple question.Once I perform a search in notepad++ .Is there any posibility to search something in the result of the fisrt search?

Edit. Sometimes i have to do some reports about logs and i have to find some information.In most of the cases i can manage easyly by using regexp but in some cases i have to search manually.

migrated from stackoverflow.com Aug 27 '15 at 15:15

This question came from our site for professional and enthusiast programmers.

  • I'm not sure if I understand, but you could click-drag (select) the part of the code/text you want to search in – NemanjaT Aug 27 '15 at 11:47
  • 4
    I don't believe you can do that, but why would you need to? Can't you just modify your original search criteria to include the more specific second criteria? That would have the same effect. – oliakaoil Aug 27 '15 at 11:48
  • Could you explain why you need to do this? Why not make a more refined query? – onebree Aug 27 '15 at 12:00

Yes there is, using Mark window and Search > Bookmark menu,
although it is limited to lines.

  1. From menu, use Search > Mark... function.

  2. In Mark dialog, check Mark Line and perform your search.

    • You can perform more than one search and results add together (if Purge is unchecked).
  3. From menu, use Search > Bookmark > Copy bookmarked lines.

    • If you want negative selection, use Inverse bookmarks (from the same menu) before.
  4. Open new Notepad++ document and Paste. Here you can search in search results.

Alternative way is to always work with the same document and use Remove unmarked lines or Remove bookmarked lines to throw away lines you do not need (then repeat searching).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.