Validating an input field with regular expression using JavaScript !

A regular expression is a special text for describing a string pattern. Regular expressions are commonly used to validate user entered input fields like Email Address, Phone number, Name etc. The regular expression to be used...