How can I sum a set of numbers interspersed with text in the region (not a rectangular region). For example, if the region contains this text:
Widgets 234 Sprockets 44 Nubbins 12 Fork handles 4 4 Candles
I'm looking for a command that will report 298 somehow (298 = 234 + 44 + 12 + 4 + 4) -- I guess either by echoing that to the message area or inserting it in the buffer.
Ideally it would cope with both integers and floating point numbers.