Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Script For Email Validation

Share this post!
 Vote this!

This script uses regular expressions to check that a form field contains a valid email address. Note that it won't catch all invalid emails, like most similar scripts. However, for most intents and purposes, this script should serve its purpose well, by rejecting common email typos while leaving room for obscure yet valid emails to pass.
Here are some examples of valid email addresses that this script will recognize:
  • contact@mydomain.com
  • jason+lang@gmail.com
  • help@nbc.co.uk
  • mary.k.ashley@celeb.com
  • george@sub.whatever.mydomain.ca
  • edward@42.234.12.345   more...

0 comments:

Post a Comment