I hope this help

puts "11,1,aa,a,1b,3b,55,b6,6l,mm".scan(/([0-9a-fA-F][0-9a-fA-F])/)

any better idea??

-- 
Posted via http://www.ruby-forum.com/.