Implement gsub replacement for single-quotes, double-quotes and ampersands