显示电子邮件ID无效 [英] Showing Email ID not valid

查看:120
本文介绍了显示电子邮件ID无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用此代码检查电子邮件ID.

Hi,

I''m checking the email ID using this code.

string patternStrict = @"^[\w]+[\d._-]*[\w]*[@]{1}[\w]+[.]{1}[\w]+[,]?([\w]+[\d._-]*[\w]*[@]{1}[\w]+[.]{1}[\w]+[,]?)*$";



但是如果电子邮件ID以".net",.org",.biz",.de"结尾
不被接受为有效的邮件ID.

请帮我解决这个问题.
在此先感谢
Saranya1388



But if the email Id ends like ".net" , ".org" , ".biz" , ".de"
are not accepted as valid mail ID.

Please help me to solve this.
Thanks in Advance
Saranya1388

推荐答案

;



但是如果电子邮件ID以".net",.org",.biz",.de"结尾
不被接受为有效的邮件ID.

请帮我解决这个问题.
在此先感谢
Saranya1388



But if the email Id ends like ".net" , ".org" , ".biz" , ".de"
are not accepted as valid mail ID.

Please help me to solve this.
Thanks in Advance
Saranya1388


您可以使用给定的代码来验证您的电子邮件ID
you can use given code to validate your email ID
string patternStrict =@"^([\w-]+\.)*?[\w-]+@[\w-]+\.([\w-]+\.)*?[\w]+


"



:)



:)


这篇关于显示电子邮件ID无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆