email.js 152 B

12345
  1. /* eslint-disable */
  2. export function isEmail(value) {
  3. var reg = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/;
  4. return reg.test(value.trim());
  5. }