Example regular expression "Password Reset" functionality

When you configure the password reset functionality, at Setup > Login Page Services > Password Reset, you can configure a password complexity policy. This ensures that passwords provided by your users meet the complexity requirements of your organization, for example a password that matches the password complexity rules as determined by Microsoft Active Directory.

You can split complex rules in multiple rules, to make it easier to configure the desired policy. For example:

Regular expression

Password complexity hint


Specify one special character


Specify 8 to 12 characters


Specify one numeric digit


Specify one lower case character


Specify one upper case character

See also