Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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: ^[^\.]+$

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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