Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search for email addresses in visual studio search box using regular expression

The regular expression search in visual studio is very limited, I need a regular expression to search for email addresses in a very big solution.

This article explains the problem

You can use a specific set of regular expressions in the Find what and Replace with fields of the Find and Replace Window

* EDIT * I need something work with VS 2010 SP1 but not VS 2012

like image 848
Sawan Avatar asked Sep 02 '25 16:09

Sawan


1 Answers

open visual studio find dialog and Try This Option:I already done this.

Email Regex:\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b

You can specify your limitation.

enter image description here

like image 175
KF2 Avatar answered Sep 04 '25 06:09

KF2