From: nobuyoshi nakada Date: 2005-10-06T20:14:44+09:00 Subject: Re: regexp to replace comma in text Hi, At Thu, 6 Oct 2005 19:54:12 +0900, Kev Jackson wrote in [ruby-talk:159336]: > How would you replace the commas embedded in the strings in the SQL? line.gsub(/'(?:[^\']|'')*'/) {$&.delete(",")} -- Nobu Nakada