<%
set re=new regexp
re.ignorecase=true
re.global=true
email=request.form("email")
re.pattern="^/w+((-/w+)|(/./w+))*/@[A-Za-z0-9]+((/.|-)[A-Za-z0-9]+)*/.[A-Za-z0-9]+$"
if re.test(email)=files then
response.write("<script>alert('邮箱格式错误');history.back();</script>")
response.end
end if
%>