use of HTML5 <INPUT> attribute pattern
We should use html5 pattern attribute for browser based form data input
Specifes a pattern or format for the input field's value. Example: pattern="[0-9]" means that the input value must be a number between 0 an 9
By this html5 capable browsers can validate itself.