• Login
Community
  • Login

Filter data

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 4 Posters 1.0k Views
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.
  • F
    Federico Milano
    last edited by Jan 6, 2023, 10:00 AM

    Hi! A have a very big file with a lot od data.
    Is it possible to search ,for example, a word (dog) and collect all lines with this word?
    Thank you very much!

    E 1 Reply Last reply Jan 6, 2023, 11:14 AM Reply Quote 0
    • E
      Ekopalypse @Federico Milano
      last edited by Jan 6, 2023, 11:14 AM

      @Federico-Milano

      open the find dialog, switch to the Mark tab, check the Bookmark line checkbox, call Mark All

      Once the result is shown, right click one of the bookmarked lines and click Copy bookmarked lines

      D 1 Reply Last reply Jan 6, 2023, 8:08 PM Reply Quote 5
      • D
        datatraveller1 @Ekopalypse
        last edited by Jan 6, 2023, 8:08 PM

        Or, similar to @Ekopalypse’s correct solution:

        Open the find dialog, use the Find tab, enter the search string in Find what : and click on Find All in Current Document

        Once the result is shown, right click one of the result lines in the Search results window on the bottom, click Select Alland then Copy Selected line(s)

        A 1 Reply Last reply Jan 6, 2023, 8:59 PM Reply Quote 2
        • A
          Alan Kilborn @datatraveller1
          last edited by Jan 6, 2023, 8:59 PM

          @datatraveller1 said in Filter data:

          right click one of the result lines in the Search results window on the bottom, click Select Alland then Copy Selected line(s)

          This is only good advice if one has no other search results present in the window; otherwise all lines will be copied from all searches, which may not be relevant to the current search data that the OP is attempting to obtain.

          A better way is to right-click on the Search “dog” … line (red dot in the following screenshot) and choose Copy Selected Line(s) without selecting any text in Search results window at all:

          9623b886-9879-4e4f-97dc-8552ad45df83-image.png

          D 1 Reply Last reply Jan 6, 2023, 9:14 PM Reply Quote 5
          • D
            datatraveller1 @Alan Kilborn
            last edited by Jan 6, 2023, 9:14 PM

            @Alan-Kilborn Yes, good hint.

            1 Reply Last reply Reply Quote 1
            • A
              Alan Kilborn
              last edited by Jan 7, 2023, 11:08 AM

              I suppose it is a “good hint” but it is somewhat counter-intuitive for unknowing users. I mean, the menu item says it is going to copy something that is selected, and nothing is selected (but it still does something when invoked). :-(

              D 1 Reply Last reply Jan 7, 2023, 9:49 PM Reply Quote 0
              • D
                datatraveller1 @Alan Kilborn
                last edited by Jan 7, 2023, 9:49 PM

                @Alan-Kilborn Personally, most times I use my solution with clearing the results in the search results window before (if any) with right-click on “Clear all”. I rarely need more than one search result. I wished there was an option to always generate only one fresh search result.

                A 1 Reply Last reply Jan 7, 2023, 9:55 PM Reply Quote 0
                • A
                  Alan Kilborn @datatraveller1
                  last edited by Jan 7, 2023, 9:55 PM

                  @datatraveller1 said in Filter data:

                  I wished there was an option to always generate only one fresh search result.

                  Tick this option and you shall have it!:

                  939b160c-c7a0-4f46-bb7f-e1558469015f-image.png

                  D 1 Reply Last reply Jan 7, 2023, 10:01 PM Reply Quote 1
                  • D
                    datatraveller1 @Alan Kilborn
                    last edited by Jan 7, 2023, 10:01 PM

                    @Alan-Kilborn Great, Thank you!

                    1 Reply Last reply Reply Quote 0
                    5 out of 9
                    • First post
                      5/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors