Archive for September, 2010

Visual Studio – Find using Regular Expressions

September 23, 2010 Leave a comment
Most of the times we using Ctrl+F (Find) feature in Visual Studio with commen Find options like "Match case", "Match Whole Word"…
But rarely we use option "Use by Regular expression" (Need to ckeck Use and select Regular expression / Wildcard).
Recently I started using this, and found it is very useful. Here are the few examples…
  1. <pra – Find words start with "pra"
  2. deep> – Find words ends with "deep"
  3. <p[a-z]+deep> – Find words which starts with "p" and ends with "deep"

I agree, these are very simple examples… but I hope it is useful introduction.



Categories: Visual Studio