验证密码不允许有连续三位重复的正则表达式
摘要:varre=/(\w)*(\w)\2{2}(\w)*/g;js中验证密码不允许有连续三位重复的正则表达式这个正则的意思就是任意的字母或数字或下划线(捕获为组1)0次到多次跟着一个任意的字母或数字或下划线(捕获为组2)紧跟着“\2{2}”是指反向捕获 组2(就是这里的内容要和组2一样的并且出现2次,所...
阅读全文
posted @ 2015-06-30 18:18
posted @ 2015-06-30 18:18
posted @ 2015-06-25 18:34
posted @ 2015-06-15 04:41
posted @ 2015-06-15 04:35
posted @ 2015-06-02 17:23
posted @ 2015-06-02 17:21