有效的电子邮件地址验证 [英] Effective Email Address Validation
本文介绍了有效的电子邮件地址验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我真的很喜欢您的有效电子邮件地址验证示例.但是,我无法下载源代码.我的电子邮件是[已删除电子邮件].
谢谢!
Hello, I really like your Effective Email Address Validation samples. However I cannot download the source. my email is [Email Removed].
Thank you!
推荐答案
http: //www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=5189 [
尝试下面的Asp.Net(C#)电子邮件验证代码.
Try below code for Asp.Net(C#) Email Validation.
public static bool IsValidEmail(string email) { System.Text.RegularExpressions.Regex rx = new System.Text.RegularExpressions.Regex(@"^[-!#
%&''* +/0-9 =?AZ ^ _a-z {|}〜](\.?[-!#%&''*+/0-9=?A-Z^_a-z{|}~](\.?[-!#
这篇关于有效的电子邮件地址验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文