GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaScript/String/ValidateEmail.js at master · Algorithms-Learn/JavaScript Expand file tree/ Copy pathValidateEmail.jsMore file actions 12 lines (10 loc) · 290 Bytes / Copy pathValidateEmail.jsFile metadata and controls12 lines (10 loc) · 290 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 /** * Returns whether the given string is a valid email address or not. */ const validateEmail = (str) => { if (str === '' || str === null) { throw new TypeError('Email Address String Null or Empty.') } return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(str) } export { validateEmail } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |