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