See the documentation here: https://world.mendix.com/display/refguide6/Regular+Expressions You should modify the change password routines and do a regex check there to match the settings you defined in the modeler. This can not be done automaticly.
Regards,
Ronald