I'm trying to use .NET regular expressions to detect cases where a string has 5 or more characters and the only character in the string is the same. So these would be seen as matches:
- 0000000000000
- ZZZZZZZZZ
- AAAAAA
But these wouldn't:
- 000000A000000
- ZZZZZZ ZZZ Z
- AA
Is there a regular expression that could detect this pattern?