Remove space before decimal

I am a bit new to regex. I want to convert examples such as hello coffee 0 .08 – 0 .24% to hello coffee 0.08 – 0.24% (removal of space before decimal and ignore other situations). Can you please …