import re
text = "U012034"
print( re.sub(r'^\D*0*', '', text) )