I have a file that contains the following:
Name |
---|
ABCD0145 |
ABCD1445 |
ABCD0998 |
And I'm trying to write a cod that read every row and change the name to the following format:
Name |
---|
ABCD_145 |
ABCD_1445 |
ABCD_998 |
keeping in mind that it should maintain letters (ABCD), add (_) after it and then add the numbers
if there is a zero such as ("ABCD**0**145"
), it should remove it to be ("ABCD_145"
).