Adding leading zeros to an extended field

Hi all

I use the initialkey tag for track key information. The value consists of a digit and a letter ie. 1A, 2B, 10A, 12B etc.
I wish to add a leading zero to single digit values ie. 01A, 02B, 10A, 12B. How can I do that?

Also, I wish to copy the value from initialkey to the contentgroup tag (as iTunes cannot show initialkey and other dj software uses the initialkey, so I need both). How can I do that?

Thanks in advance!

Make a new action

Action type: Replace with regular expressions
Field: INITIALKEY
Regular expression: ^(\d[^\d])
Replace matches with: 0$1

Action type: Format value
Field: CONTENTGROUP
Format string: %INITIALKEY%

That does the trick, thank you very much!

Another issue, some values are like "1A or 1B", is it possible to make a regex that matches both digits?