摘要: 1.邮箱 export const isEmail = (s) => { return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s) } 2.手机号码 export const isMobile = 阅读全文
posted @ 2022-07-18 16:34 偷熊计划 阅读(41) 评论(0) 推荐(0)