Another way.

Formula: copy to clipboard
=TRIM(MID(SUBSTITUTE(SUBSTITUTE(A1,"-",REPT(" ",256),4),"-",REPT(" ",256),1),256,256))