BOM replace characters with Equation

Hi,

What is the equation in BOM column, to replace characters in BOM column please?

All spaces to become hyphen “-“ and all periods to become spaces.

Thank You.

SolidworksDrawings And Detailing