From: Joel Pearson Date: 2013-06-10T23:30:09+09:00 Subject: Re: extract from output (regular expressions) If you want it to just be an array of space-delimited strings, you could make this change in the code. Instead of this: line.scan( /[\d.]+/ ) This: line.scan( /[\d.]+/ ).join(' ') -- Posted via http://www.ruby-forum.com/.