title: Regex to match four repeated letters in a string using a Java pattern
body: <p>I want to match something like aaaa, aaaad, adjjjjk. Something like ([a-z])\1+ was used to match the repeated characters, but I am not able to figure this out for four letters.</p>