Forms controlled by Regular Expressions

The purpose of this assignment was to learn about regular expressions with JavaScript and how to use them to control user input in a HTML form.

The description and my solution of the Forms, RegExp -assignment can be viewed at the bottom of this page.

What is Regular Expressions?

Regular Expressions, sometimes called regexps, regexes, or regexen, are strings(lines of text) that describes or matches a set of strings, according to certain syntax rules.

RegExps are used by many text editors to search and manipulate bodies of text based on certain patterns.

Many programming and scripting languages support regular expressions for string manipulation.

Assignment Description

Create a HTML document with a form that is controlled by a JavaScript using regular expressions.

My solution, Assignment Files

Try the RegExp controlled HTML form

«  Previous Next  »