摘要: str.replace(/\s+/g, '').replace(/(.{4})/g, '$1 ') 阅读全文
posted @ 2020-11-12 23:13 前端工程队 阅读(270) 评论(0) 推荐(0)
摘要: /^[\dA-Za-z_]+\@[\dA-Za-z-]+\.(cn|com){1}$/ 阅读全文
posted @ 2020-11-12 23:04 前端工程队 阅读(92) 评论(0) 推荐(0)