Search and Replace in files filter by files *not* of type?

When I search and replace in directories I can choose to filter by only PHP files or other extensions by selecting *.php in the File Mask dropdown menu. But, often, I want to search for things and exclude the compiled versions. For instance, I want to exclude searching in compiled CSS when the changes I'm looking for will need to be made in the SCSS file. 

Instead of *.scss is there an equivalent of `not`.css. i.e. Search for this string everywhere except in .css files? 

^.css

1 comment

Hi there,

Well ... !*.css

Have you tried that?

Another alternative (if you are doing such searches often) is to create and use custom Scope.

0

Please sign in to leave a comment.