Yeah, but I want my users not to update empty values. So added validation for the users.
In this case, if my user tries to update their profile by empty value, the regEx field validation should be raised right? Also I have added both min and max length validation as well. But nothing is working.