3

I'm using Notepad++'s "Find in Files" functionality to find specific text in a large number of text files across a large number of directories and subdirectories. I understand how to specify file extensions in the filters section and that works fine for me. However, how can I only search in files that have no extension at all?

1

From what I can tell NotePad++ uses the WinAPI FindFirstFile() to filter the files, which I don't think has the functionality to find files without any extension. If you just want to search through files you might be better served with a dedicated file search program. There's a few recommendations here:

Best way to *confidently* search files and contents in Windows without using an indexing service?

Many programs support regular expressions and this regex should work for finding files without an extension: ^[^\.]+$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.