Enforcing a stronger password

Hello,

I’m trying to enforce a stronger password for the user accounts on my Xibo server.
I noticed the “Password Policy Regular Expression” in the setting menu, but every string I try to enter seems to make every password change i try to make say it does not meet the rquirements.

For example The string below should enforce a password with a minimum of 8 characters, 1 Capital Letter,1 small and one special character.

“^(?=.[A-Z])(?=.[!@#$&^%*.])(?=.[0-9])(?=.*[a-z]).{8,}$”

Am i doing this right? Or is the way i set this up different?

Did you surround the said string with //? Those are required i.e /.{10,}/

Hi Nell,

Thanks, your example of the minimum characters works.
However i’m quite lost on how to add the extra requirements.

I tried multiple variations, but none just not seem to work.
Also, i’m no programmer and the examples i use are what i found on the Internet.
See below the vatiations i tried.

/(?=.{A-Z})(?=.{!@#$&^%.})(?=.{0-9})(?=.{a-z}).{8,}/
/.{A-Z}.{!@#$&^%.}.{0-9}.{a-z}).{8,}/
/.{A-Z}//.{!@#$&^%
.}//.{0-9}//.{a-z})//.{8,}/