Visual Studio 2013 include logical or in "find in files" (updated for VS2017)

92 Views Asked by At

How does one accomplish the following:

In Visual Studio 2013 include logical or in "find in files"

So I could do a search such as

http OR web

but the above syntax doesn't work.

2

There are 2 best solutions below

0
On BEST ANSWER

Checked in VS2017.

that's what you need to do

enter image description here

where \b is for matching the whole word

0
On

A colleague pointed out the following regular expression:

The syntax is as following: "Use Regular Expressions" checked, and search for:

(http) |  (https) 

If anyone has a better way, please post.