How to run a find function with multiple data points
-
I need assistance.
I’m using NP++ v8.5.7 (64bit) on windows 10 homeI 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++.
-
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
, andthirdWord
)"- Find What:
firstWord|secondWord|thirdWord
- put a vertical bar
|
between each word
- put a vertical bar
- Directory:
path\to\directory\containing\group-of-files\
- Search Mode:
☑ Regular Expression
- make sure this option is checkmarked
- Find all
----
Useful References
- Find What:
-
PeterJones thank you