Retirement tax questions

You can leave the spaces and dashes exactly as they appear on the physical copy your W-2.  This is the information that the IRS receives from your employer, and it should match what you report.