Email Validation check in javascript

## Used To Validate Email In Javascript

<script >
  function validateEmail(email) {

    var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;

    return emailReg.test( email );

  }

</script>

Leave a Reply

Your email address will not be published. Required fields are marked *