pattern = "^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$";
 
 oo = dotNetclass "System.Text.RegularExpressions.Regex"  


 oo.IsMatch "feedback@net-informatins.com"  pattern  --返回对错

  

2012-05-28

相关文章:

  • 2021-09-04
  • 2021-12-26
  • 2021-12-26
  • 2021-12-26
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-02-07
  • 2021-11-21
相关资源
相似解决方案