ExtJS常用正则表达式验证
1【TellPhone】
8位数字
regex: /^(\d{3,4}\)|\d{3,4}-|\s)?\d{8}$/,
regexText: 'the cellphone number is invalid !',
2.【CellPhone】
11位数字
regex: /^\d{11}$/,
regexText: 'the cellphone number is invalid !',
3.【邮箱】
vtype: 'email', //邮箱验证
vtypeText: 'the email address is invalid !',