fork download
  1. import re
  2. text = "U012034"
  3. print( re.sub(r'^\D*0*', '', text) )
Success #stdin #stdout 0.04s 9584KB
stdin
Standard input is empty
stdout
12034