Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const uuidv4Regex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
- const testString = "testing";
- const isUUIDV4 = testString.match(uuidv4Regex); //will return false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement