given examples:
A10
A01
A1
B09
B80
C11
how to trim leading zero's retaining alphabet, using sed?
expected results from source examples:
A10
A1
A1
B9
B80
C11
^[0] does not apply here because it's not beginning of string. matching [A-Z][0] could work, but need result to retain the [A-Z] and i don't know how to do so.
With sed substitution:
0?- matches optional zero between captured groups