Regex Email Validator with Domain specified
Possible Duplicate:
What is the best regular expression for validating email addresses?
I want email validator with specific domains where for example:
asdf@asdf.asdf invalid
test@test.co.in valid
test@test.com valid
test@test..com invalid
test.@.test.com invalid
So If i specify "asdf" in my regex expression then it can also be validated.
Try below one
w+@w+(.[a-z]{1,3})+$
Below is the change as requested.
w+@w+.(biz|com|au)$
链接地址: http://www.djcxy.com/p/16518.html
上一篇: 什么是拒绝绝对无效的电子邮件地址最不好的正则表达式?
下一篇: 带指定域的正则表达式电子邮件验证器