Skip to content

Tip 3.22: How to use wildcards and regular expressions while searching

October 10, 2012

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

In the Find And Replace window, expand the Find Options node and check the Use Regular Expressions check box. This option enables you to select either wildcards or regular expressions.

Now that little (a)+ button, which is called an expression builder and is located next to the Find What text box, is enabled. In case you’re like her and don’t use regular expressions all that often, the expression builder can be a great little cheat sheet.

Note that the editor’s regular expressions engine is slightly different from the .NET Framework regular expressions engine; hence, the cheat sheet may really come in handy.

Happy Programming! =)

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: