1、邮箱正则:
var pattern=/^([.a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;
2、手机号校验
var pattern=/^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+d{8})$/;