showing results for - "generate string from regex javascript"
Leandra
10 Aug 2020
1console.log(new RandExp(/^([a-zA-Z]){5}([0-9]){4}([a-zA-Z]){1}$/).gen());
2console.log(new RandExp(/^[0-9]{4}$/).gen());
3console.log(new RandExp(/^[0-9,A-Z]{4}$/).gen());
4console.log(new RandExp(/^([A-Z]){5}([0-9]){4}([A-Z]){1}$/).gen());