in reply to regex to match double letters but not triple or more
This appears to be the same as Re: Using regex to match double letters, and only double letters - are the solutions there useful to you?
🦛