FixSpacingBeforeUnits Macro

This macro scans the document for measurements where a number is directly followed by a unit (e.g. 1000Ft, 3kg, 5cm) without a space.
It automatically inserts a space between the number and the unit to correct the formatting: 1000Ft → 1000 Ft 5kg → 5 kg Sample Text (Before Running the Macro):

The package weighs 3000g and is 40cm tall.
I bought 2l of juice and paid 1500Ft.
We walked 12km and carried a 5kg backpack.

To run the macro, press Alt + F8, select 'FixSpacingBeforeUnits', and click Run. (after)

(before)