Validating an email address with javascript osl dating technique


If you are intending to include a 'Contact Us' page on your Website then you will need to create a more comprehensive FORM that communicates with a CGI program located on your site's Web server.

The CGI program is likely to be 'Form Mail' from Matt's Script Archive, which acts as a FORM to email gateway and is pre-installed by most Web Hosting providers.

{2,4} indicates the minimum and maximum number of characters.

Last month I wrote about regular expressions in Java, today I’ll show you how to use regular expression in Java Script to validate email address.

Here is the code to validate email address in Java Script using regular expression.

27-Oct-2014: The script on this page has been updated to deal with cross-browser issues.

Learn how to validate a users email address using Java Script.

This tutorial displays a series of preset demonstrations that show different email address errors being trapped by the script.Example Markup and script are provided for you to copy/paste into your HTML editor for inclusion on a web page.


  1. Pingback:

  2. eric   •  

    Last month, Hu Ge’s assistant was seen picking up Lin Xiao from the airport.

  3. eric   •  

    it’s hard to throw away all the makeup that has expired.

  4. eric   •  

    You further agreenot to use this data to enable high volume, automated or robotic electronicprocesses designed to collect or compile this data for any purpose,including mining this data for your own personal or commercial purposes.

  5. eric   •  

    If it still feels good being together, but you’re not sure the romantic chemistry is there for you, give the match one more chance.

  6. eric   •  

    With live sex cams, you’re guaranteed to meet plenty of sexy girls.

  7. eric   •  

    We provide our users with an opportunity to purchase Premium status and enjoy the majority part of paid functions for free!

  8. eric   •  

    Besides, Harley riders need to adapt their bodies by taking breaks every hour or two. Try your best to have rest It seems a little bit hard to sleep adequately during a multi-day ride.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>