Search code examples
visual-studiovisual-studio-2013replacefind

Visual Studio 2013 regular expression To find and replace


In Visual Studio 2013 how can I create a regular expression to find all occurrences which are like this:

id="Restaurant_Viandes_Grillades" type="checkbox">
id="Another_Restaurant2" type="checkbox">
id="Another_Restaurant3" type="checkbox">
// All name Restaurants have underscore

... and replace it with: >?


Solution

  • I found the answer i have to find this :id="([a-z_ A-Z]*)" type="checkbox">