验证手机和电话号码
//验证手机和电话
var matchMobile = /^1[3|4|5|7|8]\d{9}$/; //验证手机
var matchTel = /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/; //验证电话
var matchMobileAndTel = /^((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)$/; //验证手机和电话号码