public static Boolean isValidEmail(String strEmail)
{
bool b = Regex.IsMatch(strEmail,@"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z\\u4e00-\u9fa5\\s]{2,4}|[0-9]{1,3})(\]?)$");
return b;
}
Above is my code which i am using to validate email.
I did not able to find regular expression for this Nitha.La.Poojari@abc.com as it contains three full stop. can anybody help me using regex?