From: Joel Pearson Date: 2012-09-04T21:36:27+09:00 Subject: Re: need help to get output If you alter that last line to the below then the output looks much tidier: puts outputstring.gsub(/:/,"").gsub(/\s+percent/,"").gsub(/ +/," ") -- Posted via http://www.ruby-forum.com/.