Below is a nice little Javascript RegularExpression to validate email addresses.
/^\w.+@[a-zA-Z_.]+?\.[a-zA-Z.]{2,3}$/
..and to use it..
if (/^\w.+@[a-zA-Z_.]+?\.[a-zA-Z.]{2,3}$/.test(email)) alert("Success");
else alert("Fail");
Below is a nice little Javascript RegularExpression to validate email addresses.
/^\w.+@[a-zA-Z_.]+?\.[a-zA-Z.]{2,3}$/
..and to use it..
if (/^\w.+@[a-zA-Z_.]+?\.[a-zA-Z.]{2,3}$/.test(email)) alert("Success");
else alert("Fail");
Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.
Jun 6, 2020 • 0 min read
Remove hash from window.location in Javascript
May 20, 2020 • 1 min read
How to use Google Analytics in AngularJS
Apr 29, 2020 • 0 min read
Convert URL String into a Javascript Object
Apr 27, 2020 • 0 min read
How to fix a Javascript Uncaught ReferenceError