Can someone help me to create a code in excel?

I have an excel sheet including thousands of codes. Please see the image below.

I want to make a new code using this code. The new code should include the first 5 characters, a dash (-) and the last five characters of the current code.
Eg:25500-25789
Can someone tell me an easy way to do this instead copy paste and edit?
