name phone email正则表达式
name:
/^([a-zA-Z0-9\u4e00-\u9fa5\·]{1,10})$/(如:名字为张三)
phone:
/^(0\d{2,3}[-| ]?)?(\d{7,8})([-| ]?\d{3,5})?$/(如:电话号码为010-85369999)
email:
([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,5})+
name:
/^([a-zA-Z0-9\u4e00-\u9fa5\·]{1,10})$/(如:名字为张三)
phone:
/^(0\d{2,3}[-| ]?)?(\d{7,8})([-| ]?\d{3,5})?$/(如:电话号码为010-85369999)
email:
([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,5})+