How to check if a string is a valid UUID in JavaScript?
Originally Published Here ๐!
To check if a string is a valid UUID (or a Universally unique identifier), we can use a special regex expression to check that in JavaScript.
TL;DR
// Regular expression to check if string is a valid UUID
const regexExp ...
melvingeorge-me.hashnode.dev2 min read