正则判断连续数字或相同的六位数字
let regexp = /([0-9])\1{5}|((?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)|9(?=0)){5}\d)|((?:0(?=9)|9(?=8)|8(?=7)|7(?=6)|6(?=5)|5(?=4)|4(?=3)|3(?=2)|2(?=1)|1(?=0)){5}\d)/
regexp.test(123456)==>true
regexp.test(654321)==>true
regexp.test(111111)==>true
regexp.test(111112)==>false
regexp.test(123457)==>false