From: Nit Khair Date: 2008-09-27T12:26:10+09:00 Subject: Re: Short question on regex in Ruby If you need to get multiple numbers out you could try scan(). > d="9,45, 567" => "9,45, 567" > d.scan(/\d+/) => ["9", "45", "567"] -- Posted via http://www.ruby-forum.com/.