This component can be used to performs basic client side validations which is required in almost every project like only alphabets allowed, only numbers allowed, valid email, standard phone number, only some special characters allowed in input fields using javascript client side actions having regex inside them. You can extend this utilities and add more complex regex or actions to perform validations..
Removed unwanted dependency from sample.