Hello, guys, how are you doing? I wonder if you can help me with this:
I have many files like this:
ab1234a
abc123a
abcd123a
abcde123a
I need to add a hyphen between the first letters and numbers, so I could have:
ab-1234a
abc-123a
abcd-123a
abcde-123a
The hyphen could be the 3rd, 4th, 5th or 6th character, always like [letter] hyphen [number]. Note that I don't want hyphen between the numbers and the last letter.
I'm having a hard time to figure this out.
Could you give me a help with this? Thanks!