| Share this post! | Vote this! |
|
In this lesson of the JavaScript tutorial, you will learn...
There are two ways to create a regular expression in JavaScript: more...
- To use regular expressions for advanced form validation.
- 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