$string= "This, that, and those"; $string =~ s/,/\\",\\"/g; print $string;