import res = "Se.hi.mo."s = re.sub('([aeuio])\.', r'\1', s)print(s)
Standard input is empty
Sehimo
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!