Community
    • Login

    How to NOT include line numbers prefix in "Find All in Current Document" results?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 5.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Дмитрий ТкачевД Offline
      Дмитрий Ткачев
      last edited by

      How to NOT include line numbers prefix in “Find All in Current Document” results? For example, I have searched file and have this search results:

      Search “patch .* : applied” (11 hits in 1 file)
      E:\some_file.txt (11 hits)
      Line 29: Patch 26760297 : applied on Wed Dec 13 12:27:24 MSK 2017
      Line 47: Patch 25575478 : applied on Wed Jun 07 13:19:10 MSK 2017
      Line 60: Patch 25192566 : applied on Wed Jun 07 13:17:50 MSK 2017
      Line 74: Patch 25345185 : applied on Wed Jun 07 13:16:14 MSK 2017
      Line 84: Patch 25360176 : applied on Wed Jun 07 13:14:50 MSK 2017
      Line 93: Patch 24738130 : applied on Wed Jun 07 13:12:12 MSK 2017
      Line 104: Patch 23009543 : applied on Mon Dec 26 16:53:44 MSK 2016
      Line 112: Patch 24407298 : applied on Mon Dec 26 16:51:02 MSK 2016
      Line 123: Patch 23125779 : applied on Mon Dec 26 16:48:58 MSK 2016
      Line 134: Patch 22535737 : applied on Mon Dec 26 16:48:34 MSK 2016
      Line 145: Patch 21473221 : applied on Mon Dec 26 16:48:06 MSK 2016

      I don’t need to see and use "Line xxxx: " data in search results. I need only useful data like this:
      Search “patch .* : applied” (11 hits in 1 file)
      E:\some_file.txt (11 hits)
      Patch 26760297 : applied on Wed Dec 13 12:27:24 MSK 2017
      Patch 25575478 : applied on Wed Jun 07 13:19:10 MSK 2017
      Patch 25192566 : applied on Wed Jun 07 13:17:50 MSK 2017
      Patch 25345185 : applied on Wed Jun 07 13:16:14 MSK 2017
      Patch 25360176 : applied on Wed Jun 07 13:14:50 MSK 2017
      Patch 24738130 : applied on Wed Jun 07 13:12:12 MSK 2017
      Patch 23009543 : applied on Mon Dec 26 16:53:44 MSK 2016
      Patch 24407298 : applied on Mon Dec 26 16:51:02 MSK 2016
      Patch 23125779 : applied on Mon Dec 26 16:48:58 MSK 2016
      Patch 22535737 : applied on Mon Dec 26 16:48:34 MSK 2016
      Patch 21473221 : applied on Mon Dec 26 16:48:06 MSK 2016

      How to do this? Or when I CTRL+C first search result (with line numbers) and then CTRL+V it on new list can program paste it without line numbers?

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS Offline
        Scott Sumner @Дмитрий Ткачев
        last edited by

        @Дмитрий-Ткачев

        Right click in the whitespace of the Find result panel, choose Select all. Right click again, choose Copy. Perform a paste somewhere and you will find that you have your data without the line number information.

        1 Reply Last reply Reply Quote 1
        • Дмитрий ТкачевД Offline
          Дмитрий Ткачев
          last edited by

          Wow! It works! But it seems there is different methods of copy-paste search results from search result window to the new list!!! If I will do traditional copy-paste operation with Ctrl-C Ctrl-V I will get pasted information with line numbers. If I will do “Copy” command from context menu and then usual Ctrl-V I will get pasted information without line numbers. So all difference is how to copy information - with keyboard Ctrl-C combination or “Copy” command by right click mouse. Hmmmmm… It’s not clear, but it works. Thank you very much.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors