Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.