With Col_A containing your stock codes:
A1: A-1-1
A2: B-09-5
A3: A-1-22
This regular formula begins the conversion to a standard format
B1: =SUBSTITUTE(SUBSTITUTE(A1,"-",IF(COUNTIF(A1,"*-?-*"),"-0","-"),1),"-",IF(COUNTIF(A1,"*-?"),"-0","-"),2)
Copy that formula down as far as you need.

In the above examples, these are the results:
A-01-01
B-09-05
A-01-22
If you need the "hard-coded"
• Select the formula range...(B1:B3)
• Right-Click on it
...Select: Copy
• Right-Click on the first cell of the stock code range (A1)
...Select: Paste_Options.Values

Is that something you can work with?