作者:ywf158 | 来源:互联网 | 2023-10-13 01:36
Good morning,
早上好,
I would like to create a regular expression to validate an email address.... I can do this part using the standard "email" template in the asp control.
我想创建一个正则表达式来验证电子邮件地址....我可以使用asp控件中的标准“电子邮件”模板来完成这一部分。
But what I would like to do is validate that the email is from a certain domain. Could anyone advise how I can - for example - make sure that an email is formed as [anyname]@mydomain.com?
但我想要做的是确认该电子邮件来自某个域。任何人都可以建议我如何 - 例如 - 确保电子邮件形成为[anyname] @ mydomain.com?
Thanks Guy
哥们,谢啦
2 个解决方案