***请问有没有校验email地址的正规法则,请各位大虾帮忙给写一下.
***请问有没有校验email地址的正规法则,请各位大虾帮忙给写一下.
------解决方案--------------------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})(\]?)$ ");  
 }