function chkemail(email)
on error resume next
dim i,l,pos1,pos2
chkemail=true
if isnull(email) then chkemail=false:exit function
pos1= instr(email,"@")
pos2=instrrev(email,".")
if not(pos1>0) or not (pos2>0) or pos1>pos2 then
chkemail=false
end if
if err.number<>0 then err.clear
end function
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
-
-
-
re正则表达式练习
判断变量名是否符合要求import re names = ["name1","_name","2_name","...
[阅读全文]
-
-
常用前端相关知识
1.字符串.replace(正则, function(v,i,str){ return 'xxx' }) //...
[阅读全文]
-
-
-
网友评论