How to search 1000+ lines, same syntax and words in hundreds of TXT files
- 
 I’m looking for the same line/syntax/word in a stack of files how to. For example: I have hundreds of .txt files in a folder: 
 D:\data\files… *.txtAnd I have hundreds of lines/syntax/words in a file at: 
 C:\Users\Myusername\Desktop\wordlist-need-to-file.txt
 With the following contents…chicken 
 boss
 joss
 help
 john123
 ish12c8kk38
 zebra787
 …
 …more than 1000 lines all in one file. Well my question, how do I find the same thousands of lines/syntax/words in a folder with thousands of txt files in D:\data\files… *.txt So far I only use the “Search in Files” method with “Regular Expression” can only search 20-40 lines/syntax/words with the search method word1|word2|word3|word4 and so on. can anyone understand my question and how i search for matching words in a stack of txt files with a file containing over 1000 lines, syntax and words? 
- 
 Notepad++ itself isn’t going to be the best tool for that. Perhaps a different search utility but actually I can’t think of one that will do that. If it were me, I would resort to programming a solution. That could be done “inside” Notepad++ using the PythonScript plugin if you’d like. 
- 
 @alan-kilborn 
 How to do it, of course I want and I’m very grateful for it
- 
 @saipul-bakri 
 Try Agent Ransack freeware with registration or the paid version. Does exactly that, i use now and again. Searches documents or files for stuff and reports and can hot link open those documents.
 Many options and will scan lots files quickly. However it takes a few seconds to do the scan.
 https://www.mythicsoft.com/agentransack/Now i am the new google for you! 
- 
 Thank you for your recommendation @minsikau . I’ll start with the free version first. If this is what I need I will buy it 
- 
 @minsikau How do I search using this Agent Ransack for my problem above? 
 I’m confused how to add my wordlist.txt list to search for the same word in a stack of files in a folder
- 
 It’s hard to tell whether that recommendation was offered with an understanding of your problem prompting that the other application was a good fit, or whether the user was just doing a knee-jerk software recommendation. But either way, that application is a completely separate application, unaffiliated with Notepad++, and this Notepad++ Community forum is thus not the right place for getting help with that application; you would have to find somewhere else appropriate for getting help with that application. If you are still interested in the Notepad++ with PythonScript plugin solution, let us know, the next time Alan logs in, he may be able to offer more advice on how to get that working. 
- 
 @peterjones said in How to search 1000+ lines, same syntax and words in hundreds of TXT files: If you are still interested in the Notepad++ with PythonScript plugin solution, let us know, the next time Alan logs in, he may be able to offer more advice on how to get that working. I thought some more about this, and I don’t think it is on-topic enough for Notepad++ in order to pursue it here. While a PythonScript could be written to do this, it is really unrelated to Notepad++ and is just plain Python, making it a better topic for some other forum. 
