Regular Expressions: A Feedback Form - Doc JavaScript | WebReference

Regular Expressions: A Feedback Form - Doc JavaScript


JavaScript Regular Expressions

A Feedback Form

In this section we'll show you how to create a feeback form that checks if the user's e-mail address' syntax is valid. We'll first provide the script, and then explain it in depth. The final result looks like this:

Your e-mail address:

Subject:

Comments: