From: Dominik Werder Date: 2003-06-11T06:38:17+09:00 Subject: Re: OT: Regexp question > a = [ "Illinois (3762)", > "Indiana", "Iowa (64)", > "Kansas", > "Kentucky (2675)", > "South Dakota (00)", > "New Jersey (29332)" > ] > > a.each { |s| p s.split(/ \(/)[0] } :)) I like this one :) bye! Dominik