loading
open in
index.js
1
2
3
4
let testRegex = /^(([a-zA-Z0-9]?)([A-Z]{0,12})(\d)){6,12}$/;
let testString = '012345'
console.log(testRegex.test(testString));
node v10.15.2 linux/amd64