CRAFTERCMS-894: added added pattern to input control

Added a new constraints that validates user input based on regex configured