email: /^w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*$/, //邮箱
password: /^[w]{6,20}$/,//密码
ch: /^[u4e00-u9fa5]+$/,//中文
en: /^[a-zA-Z]+$/,//英文
num: /^d+$/,//数字
username: /^[a-zA-Z0-9_.@-]{1,}$/,//用户名
noempty: /S/,//非空
name:/^[u4e00-u9fa5a-zA-Z0-9]{1,}/,//适合各种命名
expression: /w{4}://w+.w*.w{3,}//,//网址
phone:/(^(d{3,4}-)?d{7,8})$|(^13[0-9]{9}$|14[0-9]{9}|15[0-9]{9}$|17[0-9]{9}$|18[0-9]{9}$)/,//电话和手机通用
code:/[1-9]d{5}(?!d)/,//邮编
fax: /^[+]{0,1}(d){1,3}[ ]?([-]?((d)|[ ]){1,12})+$/, //传真