I need to add validation with regular expression against user profile custom field. Do I need to write some plugin or add additional code to moodle core ?
I am using Moodle 3.7. I have searched for it in documentation. But, Nothing found.
In my case I need to have 'mobile #' field with valid mobile number format. Mobile # format needs to be validated from regular expression I use.