How can I detect with a regex expression if the same consonant is repeated three times or more?
regex expression
My idea is to match words like tttoo
tttoo
There may be shortcuts in certain regex libraries but you can always...
b{3,}|c{3,}|d{3,}...
Some libs for example let you match using a back reference which may be a tad cleaner...
(bcd...)\1{2,}