import re # Original stringtext = "G231e453m423i6163n443i2431" # Use regex to remove all numbersresult = re.sub(r'\d+', '', text) print(result)
Standard input is empty
Gemini
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!