7-Views
  • Mysql
  • WordPress
  • HTML

Email Validation - 7-Views

Email Validation

Posted by Bhagwat Singh
September 13, 2018

function validateEmail(email) {
    var re = /^(([^<>()\[\]\\.,;:\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,}))$/;
    return re.test(email);
}

 

Share on FacebookShare on TwitterShare on LinkedinShare on Reddit

read more

  • email validation
94 Comments
 
 
Recent Posts
  • How to ignore TypeScript errors with @ts-ignore?
  • Disable ONLY_FULL_GROUP_BY
  • How to install PhpStorm On Ubuntu
  • How to Configure SMTP using MailHog in Laravel using Homestead
  • Check For Foreign Key Constraint Violation In Laravel
Tags
add_theme_support admin bar hide aws creating widget dns featured image featured image wordpress https issue https with load balancer laravel login logout mysql nginx query server show_admin_bar tags update wordpress Wordpress widget
Categories
  • Angular
  • AWS
  • Bootstrap
  • Cloud
  • CodeIgniter
  • File System
  • General
  • geocoder
  • htaccess
  • HTML
  • Javascript
  • Jquery
  • Laravel
  • Mysql
  • PHP
  • TypeScript
  • Ubuntu
  • Wordpress
© 2018 7-Views