Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

JavaScript Regular Expressions Tutorial

Share this post!
 Vote this!

In this lesson of the JavaScript tutorial, you will learn...
  1. To use regular expressions for advanced form validation.
  2. To use regular expressions and backreferences to clean up form entries.

Getting Started

Regular expressions are used to do sophisticated pattern matching, which can often be helpful in form validation. For example, a regular expression can be used to check whether an email address entered into a form field is syntactically correct. JavaScript supports Perl-compatible regular expressions.
There are two ways to create a regular expression in JavaScript:   more...

0 comments:

Post a Comment