loading
open in
index.js
1
2
3
let testRegex = /\d{2}-\d{3}/;
let testString = '30-456'
console.log(testRegex.test(testString));
node v10.15.2 linux/amd64