发布时间2023年4月1日星期六常用正则作者NamewenjuGaogithub@Github验证手机号const rule = /^(1[34578]\d{9})$/ 验证手机或座机const rule = /^(([1-9]{1}[0-9]{5,8})|(1[34578]\d{9}))$/ Discuss on Twitter • View on GitHubLoad Comments