I am looking for a regex that will find repeating letters. So any letter twice or more, for example:
booooooot or abbott
I won\'t know the
The following code will return all the characters, that repeat two or more times:
my $str = "SSSannnkaaarsss"; print $str =~ /(\w)\1+/g;