From: Steel Steel Date: 2010-10-02T12:36:27+09:00 Subject: Re: Ruby String: How do I strip anything between two parenthesis > I'm assuming the answer would be a combination of the string "remove" > command and the use of regular expressions but can't seem to get it to > work. > Non regex way irb(main):027:0> myString.split(")").collect{|x| x.split("(")[0]}.join => "This is string" -- Posted via http://www.ruby-forum.com/.