Reputation: 1904
In the visual studio 2015 find and replace window you can specify file types to look in for:
Looking in *.cs
-Files
There, you can enter sth like *.cs
which searches in i.e. Program.cs and Class1.cs.
*.as?x
searches in Program.asPx and Program.asCx.
I've found no other way to enter a pattern except the wildcard characters *
(any item 0 to infinit times) and ?
(any item one time).
Is it possible to use any other pattern here to search in cs and resx-files, i.e. *.(resx|cs)
[this doesnt work]? Is it possible to use some kind of regex like in the Find what-field?
In Find what you may use the regex defined here.
Upvotes: 1
Views: 116
Reputation: 281485
You can enter a semicolon-separated list of patterns, like this: *.resx;*.cs
Upvotes: 1