• Login
Community
  • Login

How to run a find function with multiple data points

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 324 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.
  • V
    Verboboss
    last edited by Sep 16, 2023, 6:54 PM

    I need assistance.
    I’m using NP++ v8.5.7 (64bit) on windows 10 home

    I need to run the same multiple words through a grip of text files and need to note the hits in the files.

    Anyone interested in instructing me how to do this very specific task? I’ve never used NP++, but the files were sent to me with a request to process it with NP++.

    P 1 Reply Last reply Sep 16, 2023, 7:02 PM Reply Quote 0
    • P
      PeterJones @Verboboss
      last edited by PeterJones Sep 16, 2023, 7:02 PM Sep 16, 2023, 7:02 PM

      @Verboboss ,

      Search > Find in Files

      • Find What: firstWord
      • Directory: path\to\directory\containing\group-of-files\
      • Find all

      This will open the Search Results window, with the results for the first word

      If you are adventurous, and want to look for the whole list of words at once (for example, firstWord, secondWord, and thirdWord)"

      • Find What: firstWord|secondWord|thirdWord
        • put a vertical bar | between each word
      • Directory: path\to\directory\containing\group-of-files\
      • Search Mode: ☑ Regular Expression
        • make sure this option is checkmarked
      • Find all

      ----

      Useful References

      • Notepad++ Online User Manual: Searching/Regex
      • FAQ: Where to find other regular expressions (regex) documentation
      V 1 Reply Last reply Sep 16, 2023, 8:50 PM Reply Quote 4
      • V
        Verboboss @PeterJones
        last edited by Sep 16, 2023, 8:50 PM

        PeterJones thank you

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