Expresso is good free tool to test regular expressions and it can be downloaded from
http://www.ultrapico.com/Expresso.htm[
^]
If you are using Windows forms, then in
Validating event of the TextBox, test the TextBox.Text property using Regex.IsMatch method for the pattern of email. If it fails then set e.Cancel = true else set e.Cancel = false
If your problem is solved you may accept and vote the solution, otherwise please post your queries
PES
[edit]Spelling mistake in
It it fails corrected to
If it fails[/edit]