109

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

Breakthrough
  • 34,227
  • 10
  • 105
  • 149
Jim Fell
  • 5,836
  • 16
  • 55
  • 76

1 Answers1

163

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

*.txt ; *.log

Or you can just use a space

*.txt *.log
random
  • 14,638
  • 9
  • 54
  • 58
Beaner
  • 3,621
  • 1
  • 20
  • 16
  • 1
    Is there any way to negate a wildcard? ex: *.vb but not *.Designer.vb? – QuickDanger Oct 11 '17 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 '17 at 23:01
  • 2
    @QuickDanger yes, see https://stackoverflow.com/a/59419084/428724 – wezten Mar 29 '22 at 12:42