This is in reference to a question I asked before here
I received a solution to the problem in that question but ended up needing to go with regex for this particular part.
I need a regular expression to search and replace a string for instances of two vowels in a row that are the same, so the "oo" in "took", or the "ee" in "bees" and replace it with the one of the letters that was replaced and a :
.
Some examples of expected behavior:
"took"
should become "to:k"
"waaeek"
should become "wa:e:k"
"raaag"
should become "ra:ag"
Thank you for the help.