human
Python RegEx using re.sub with multiple patterns
assistant
Here is some code to remove colon character surrounded by vowels letters in string `word`

word = re.sub('([aeiou]):(([aeiou][^aeiou]*){3})$', '\\1\\2', word)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.