Hi community, I want to get the words that have 3 letters repeated but not the e, the others can be. For explample "appropiate" becasue has 3 "p" letters.
This pattern brings me the letters that repeat 2 times but when I modify it for the letters that repeat 3 times it does not work. It seems strange to me.
I you are looking for words with three occurrences of one letter, possibly with other letters in between, your regular expression has to include patterns for the letters that are skipped over. Try "(?i)([a-df-z]).*\\1.*\\1"