> You'll want the String#scan method (http://www.ruby-doc.org/core/ > classes/String.html#M000812). Yes, at first time I didn't find scan method because I searched it in Match obj (instead of String obj) thank you Alessandro -- Posted via http://www.ruby-forum.com/.