From: Paul Mena Date: 2012-12-24T05:01:51+09:00 Subject: Re: trying to strip characters from a line Strangely, this didn't work for me: irb(main):001:0> '["the frustrated musician’s
mountain
of unsold CDs
", "Feb-12-2012"]
'.gsub(/\["\],/,'') => "[\"the frustrated musician’s
mountain
of unsold CDs
\", \"Feb-12-2012\"]
" -- Posted via http://www.ruby-forum.com/.