From: Joel Pearson Date: 2012-12-24T01:52:36+09:00 Subject: Re: trying to strip characters from a line Instead of all those individual gsubs, why not this: irb(main):001:0> 'A["],a'.gsub(/\["\],/,'') => "Aa" -- Posted via http://www.ruby-forum.com/.