Namely he wants to stop people using 'aaaaaaa' as their password etc.
So, the others we have sorted, but the consecutive char's is posing problems. Can regex detect consecutive characters, and importantly, can we specify the limit?
After some thought 'No' is the answer, but posting for a 'second opinion' given I am not a RegEx god :p
and for the sake of it, this is what we have come up with for the other rules (but have not tested):
Code: Select all
^([a-zA-Z]+?[a-zA-Z0-9]+){8,12}$