Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... How to use wildcards and regular expressions while searching? - #075

Another little thing I completely forgot about...

You can search using either wildcards or regular expressions in the Find and Replace window.  Expand the Find options, and check Use:  This will enable you to select either wildcards or regular expressions.

Now, that little grayed-out arrow, called an expression builder, next to the Find what: text box is now enabled, in case your like me and don't use regular expressions all that often and need a little cheat sheet.

Search using wildcards 

Technorati tags: ,
Posted: Friday, November 02, 2007 3:00 AM by saraford

Comments

hova said:

Yeah, that would be great except for the fact that the regular expressions are some completely made up and non-standard version.

So you code real (perl style) regular expressions in code, and then you try to use the same regex for searching and it doesn't work.

Such interoperability just means that it's easier to use regular globbing rather than learn a dialect of regex which exists (so far as I can tell) soley in the Find dialog box.

# November 2, 2007 9:24 AM

Jason Haley said:

# November 2, 2007 10:19 AM

Jason Haley said:

# November 2, 2007 10:25 AM

Секреты Visual Studio said:

Вы можете осуществлять поиск, используя знаки подстановки (т.н. wildcards) или регулярные выражения в

# January 13, 2009 3:58 AM
New Comments to this post are disabled
Page view tracker