Rohini,
I just tried the pattern you said was a "complete reference to solve" the issue.
string strRegex = @"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$";
Regex re = new Regex(strRegex);
if (re.Match("robert.o'neil@test.com").Success)
Console.WriteLine("Success");
And it didn't match. I would listen to William's advice. He is an expert in Regex.
John Grove - TFD Group, Senior Software Engineer, EI Division,
http://www.tfdg.com