座机号码正则表达式:
const regMobile = /^(((\d{3,4}-)?[0-9]{7,8})$/
手机号码正则表达式:
const regMobile = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
手机和座机号码正则表达式:
const regMobile = /^(((\d{3,4}-)?[0-9]{7,8})|(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8})$/