112

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

167

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? Commented 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
    Commented Oct 11, 2017 at 23:01
  • 2
    @QuickDanger yes, see stackoverflow.com/a/59419084/428724
    – wezten
    Commented Mar 29, 2022 at 12:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .