fork download
  1. import re
  2.  
  3. # Original string
  4. text = "G231e453m423i6163n443i2431"
  5.  
  6. # Use regex to remove all numbers
  7. result = re.sub(r'\d+', '', text)
  8.  
  9. print(result)
Success #stdin #stdout 0.05s 9652KB
stdin
Standard input is empty
stdout
Gemini