123456789,4567831 匹配前面的4567还有后面的83
var r = /\d{3}4567\d{2}[,]\d{4}83\d/; var e = "123456789,4567831"; console.log(r.test(e));