It seems I'm stuck with a simple regex for a password check.
What I'd like:
- 8 up to 30 symbols (Total)
- With any of these:
[A-Za-z\d]
- And 0 up to 3 of these:
[ -/:-@[-`{-~À-ÿ]
(Special list)
I took a look here and then I wrote something like:
(?=.{8,15}$)(?=.*[A-Za-z\d])(?!([ -\/:-@[-`{-~À-ÿ])\1{4}).*
But it doesn't work, one can put more than 3 of the special chars list.
Any tips?