100

When using Notepad++ Find in Files feature is there a way to adjust the filter, so that it will search more than one filetype (e.g. *.c and *.h)?

1 Answer 1

151

Separate multiple filters with a semi-colon (;).

*.txt ; *.log

Or you can just use a space

*.txt *.log
3
  • 1
    Is there any way to negate a wildcard? ex: *.vb but not *.Designer.vb? Oct 11, 2017 at 19:44
  • This is the standard open file dialog. I don't believe there is any negation. The best you can do is to carefully craft a filter that doesn't match the file you don't want. Maybe all files that have a letter or letter combination that prevents your file from showing, *a*.vb? or a file name length that doesn't match the length of the file you don't want, ?????.vb?
    – Beaner
    Oct 11, 2017 at 23:01
  • 1
    @QuickDanger yes, see stackoverflow.com/a/59419084/428724
    – wezten
    Mar 29 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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