电子邮件地址的正确表达式是什么? [英] What is the correct regular expression for an email address?
本文介绍了电子邮件地址的正确表达式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎有很多不同的变体这是网络上的,并且想知道是否有明确的答案?
最好使用正则表达式的.net(Regex)方言。
解决方案
这个问题已经 要求 p>
为什么人们使用regexp进行电子邮件和其他复杂验证? a>
与.NET有关:
Duplicate: Using a regular expression to validate an email address
There seem to be an awful lot of different variants on this on the web and was wondering if there is a definitive answer?
Preferably using the .net (Regex) dialect of regular expressions.
解决方案
This question has been asked and answered several times:
Using a regular expression to validate an email address
Why are people using regexp for email and other complex validation?
Regexp recognition of email address hard?
Specifically related to .NET:
Validating e-mail with regular expression VB.Net
这篇关于电子邮件地址的正确表达式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文