//手机号验证
var
regMobile=/^1[3,5,8]d{9}$/;
//固定电话
var
regPhone=/^(^0d{2}-?d{8}$)|(^0d{3}-?d{7}$)|(^(0d{2})-?d{8}$)|(^(0d{3})-?d{7}$)$/;
/*
* 用户名
* 只能是字母数字下划线,并且以字母开头(5-16位)
*/
var
regUserName=/^[a-zA-Z]w{4,15}$/;
//QQ
var
regQQ=/^[1-9]*[1-9][0-9]*$/;
//email
var
regEmail=/^(w-*.*)+@(w-?)+(.w{2,})+$/;
//身份证号
var
regIDcard=/^d{15}$)|(^d{17}([0-9]|X)$/;