in reply to (Ovid) Re: Regex to zero suppress
in thread Regex to zero suppress

Just tried that with "0.5"" and didn't like the result. For a fix make the substitution the not quite so nice:
s/\G0(?=\d)/ /g;
Update
Fixed the RE for the common case of '0' as well...