Example: Using a regular expression for "Provide Information"

When you configure a Provide Information action and assign a password service attribute to a page, you can validate user input by matching the provided password to a regular expression pattern. This forces the user to provide input in a specific format only, 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