From: Thomas Cale Date: 2013-06-10T22:44:49+09:00 Subject: Re: extract from output (regular expressions) Thank you, it works for me but have one more question. Is there a way to make it one dimensional array? I'm fine with 2d array, just a curiosity. Something like this: ["192.168.200.1, 4196607, 292644635, 7224498, 762829278", "192.168.200.2, 77289, 4799573, 324472, 481821874", "192.168.200.3, 122875, 14531084, 145748, 170332152", "192.168.200.4, 142254, 18836983, 106100, 26420351", "192.168.200.5, 3424090, 181079976, 6948051, 1798270528", "192.168.200.6, 2758, 234311, 12875, 18882957", "192.168.200.9, 74277, 8864576, 21888, 5834302", "192.168.200.10, 583, 44836, 623, 177505", "192.168.200.253, 157, 11899, 156, 12834", "10.0.0.2, 1108147, 105913984, 2698261, 3740346675", "10.0.0.3, 362460, 145188605, 300909, 136230642"] Cheers, Thomas -- Posted via http://www.ruby-forum.com/.