From: Joel Pearson Date: 2013-06-12T07:22:48+09:00 Subject: Re: extract from output (regular expressions) FYI the reason I'd use a 2D array for that kind of thing is because you then have this option for looping through the data: output.each do |ip, src_packets, src_bytes, dst_packets, dst_bytes| #Whatever you want with each set of data... end -- Posted via http://www.ruby-forum.com/.