FormValidation This is simple form validation using Regular Expressions in JavaScript Check here - formValidation