How to check if a string is a valid email address in JavaScript?
Originally Published Here ๐!
To check if a string is a valid email address in JavaScript, we can use a regex expression to match the symbols like @, . and the strings in between them.
TL;DR
// Regular expression to check if string is email
const reg...
melvingeorge-me.hashnode.dev2 min read