Automated form validation with regex

Example

Test Form
Name field required
Invalid email
Invalid number (must be 30-100)
     

Code

The code sample for this page is too long to include appropriately in a textarea. Please view the page source code to see the JavaScript.