sauoq just /msg'd me to point out that all the regexes here are broken: they will happily replace the 5 in /dev/hda5 along with all the other numbers. It has to be \b(\d+)\b to work correctly.
Makeshifts last the longest.
Comment on Re: One-liner (or few-liner) for massaging regexps?
I did but I was wrong. I think japhy's is actually fine as long as the those are real spaces in the original and not tabs. I think most df commands do use spaces and mine relied on the same thing. Unfortunately, two \bs won't work either. They break on the disk utilization percentage. My original reply breaks on it too because I don't match a space after the number. Matching either a \b or a \s before the number and a \s after it would work.