Skip to content

. / Rubber Chickin

® A Modest Larger-Than-Life Tech Blog™, inc.

  • News
  • Podcast
  • How To’s
  • Books List
  • About
  • Contact

email validation

October 10, 2019

How To Find Valid Email Address in JavaScript Regex

How To Find Validate Email Address format in JavaScript Regex:

const EMAIL_REGEX = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;


let email = "m.e@my.email";

alert( EMAIL_REGEX.test(email));
Categories Angular, HowTo, UICategories email validation, javascript, js, regex

About

A blog about tech, coding, entertainment, and other random ramblings.

Recent Posts

  • Interview Date
  • Nomad AI – on-device ai assistant that works offline
  • Announcing the Best Free Online Guitar Tuner: Tune Your Guitar Quickly & Easily!
  • Think Different: Steve Jobs’ Quest for Perfection
  • Talking with Machines: The Rise of Large Language Models
  • Layers of Connection: Demystifying the OSI Model
  • Cyber Wars: Inside the Battle for Digital Security
  • Behind the Kernel: Exploring the World of Operating Systems
  • AGI Awakens: Will Machines Outsmart Humanity?
  • ANN-atomy: Inside the Mind of Neural Networks
  • Getting Intimate with Stacks: LIFO and Chill
  • Achieving the Big O: Maximizing Performance in Code (and Beyond)




Rubber Chickin, 2021.