2017年9月22日
摘要: function test(s) { if (!/^\d{6}$/.test(s)) return false; // 不是6位数字 if (/^(\d)\1+$/.test(s)) return false; // 全一样 var str = s.replace(/\d/g, function($ 阅读全文
posted @ 2017-09-22 09:35 allenzhou 阅读(379) 评论(0) 推荐(0)