From: Sebastian Hungerecker Date: 2007-03-18T21:02:31+09:00 Subject: Re: Another RegExp question J. mp wrote: > what I want is use sample.sub(\['<>%$#!|]\,"") > ... > But I only can replace the first occurence of the chars specified in the > reg exp > How can I replace all occurences? Use gsub instead of sub. -- NP: Falkenbach - Homeward shore Ist so, weil ist so Bleibt so, weil war so