function isValidMail(sText) {
var reMail = /^(?:[a-z/d]+[_/-/+/.]?)*[a-z/d]+@(?:([a-z/d]+/-?)*[a-z/d]+/.)+([a-z]{2,})+$/i;
alert(reMail.test(sText))
}
js email
最新推荐文章于 2024-08-09 07:07:06 发布
function isValidMail(sText) {
var reMail = /^(?:[a-z/d]+[_/-/+/.]?)*[a-z/d]+@(?:([a-z/d]+/-?)*[a-z/d]+/.)+([a-z]{2,})+$/i;
alert(reMail.test(sText))
}