From: Michael Furmaniuk Date: 2009-04-28T03:52:23+09:00 Subject: Re: Group several lines into one line Dirk Dre wrote: > I need several lines combined to one line with the matching serialnumber > in front. I'm not good at coming up with the code examples off the top of my head but maybe a regex matching the serial numbers and then a split to pull off the portion you want then combining the matched portion. -- Posted via http://www.ruby-forum.com/.