luheng
bool IsValidEmail(string strIn)
{
// Return true if strIn is in valid e-mail format.
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})(\]?)$");
}

分类:

技术点:

相关文章:

  • 2021-12-01
  • 2021-12-03
  • 2021-11-06
  • 2021-11-06
  • 2021-11-06
  • 2021-11-06
  • 2021-11-06
猜你喜欢
  • 2021-11-21
  • 2021-11-21
  • 2021-12-03
  • 2021-11-06
  • 2021-11-21
  • 2021-12-01
  • 2021-11-06
相关资源
相似解决方案