简单正则表达式验证Email地址是否正确

private bool IsValidEmail(string strIn)
        
{
            
return Regex.IsMatch(strIn, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"); 
        }
原文地址:https://www.cnblogs.com/hanguoji/p/515270.html