Skip to content

. / Rubber Chickin

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

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

regex

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

  • How to convert div containing an image into a png in Ionic/Angular
  • How to fix ion-checkbox stealing clicks on ion-item elements
  • How to hide menu icon when back button visible in Ionic 5/Angular
  • How to style form autofill CSS in Ionic 5/Angular
  • Implement App Tracking Transparency for Ionic Angular and Cordova iOS app
  • How to Customize Ionic Slides Pager in CSS
  • How to Open PDF/File in Ionic on Android
  • How To Create Downloadable CSV File in JS/Angular
  • How Much Access Does Facebook App Have?
  • How To Batch commands in .bat file on Windows
  • Google Android Play Store Target API Requirement Change
  • How To Find Valid Email Address in JavaScript Regex




Rubber Chickin, 2021.