Last active
December 31, 2019 09:03
-
-
Save xcarpentier/6dc9661f1a790d68642644567e371376 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function isValidEmail(mel: string) { | |
return mel.match(/\w+@\w+\.\w{2,}/i) !== null ? true : false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment