I found all sorts of really close answers already, but not quite.
I need to look at a string, and find any character that is used more than 3 times. Basically to limit a password to disallow "mississippi" as it has more than 3 s's in it. I think it only needs to be characters, but should be unicode. So I guess the (:alpha:) for the character set to match on.
I found (\w)\1+{4,}
which finds consecutive characters, like ssss or missssippi but not if they are not consecutive.
Working my way through the other regex questions to see if someone has answered it but there are lots, and no joy yet.