Keys
Key | Value |
|---|---|
1 | CommunityPortal |
2 | Pages |
3 | ChangePassword |
4 | ValidationRegex |
Description
Use the ValidationRegex configuration setting to define password validation regular expressions to validate passwords entered on the Change Password tab of the Community Portal.
Default value
The default value is Blank. Password validation is controlled using the following configuration settings:
- MinLength configuration setting
- MinNumericCount configuration setting
- MinNonAlphaNumCount configuration setting.
Setting a different value
Type a password validation regular expression into the Value field of the Configuration File Maintenance window. See Configuration File Maintenance window.
Examples
| Example | Regular expression | Validation rule |
|---|---|---|
| 1 | ^(?=,*[A-Za-z])(?=,*\d)[A-Za-z\d]{8,}$ | Minimum of 8 characters including at least 1 letter and 1 numerical character. |
| 2 | ^(?=,*[A-Za-z])(?=,*\d)(?=,*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{8,}$ | Minimum of 8 characters including at least 1 letter, 1 numerical, and 1 special character. |
| 3 | ^(?=,*[a-z])(?=,*[A-Z])(?=,*\d)[a-zA-Z\d]{8,}$ | Minimum of 8 characters including at least 1 uppercase letter, 1 lowercase letter, and 1 numerical. |
| 4 | ^(?=,*[a-z])(?=,*[A-Z])(?=,*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,} | Minimum of 8 characters including at least 1 uppercase letter, 1 lowercase letter, and 1 special character. |
| 5 | ^(?=,*[a-z])(?=,*[A-Z])(?=,*\d)(?=,*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,10} | Minimum of 8 and a maximum of 10 characters including at least 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article
