Escaping quotes in string August 29, 2023 by Tarik You need to escape your backslash in the replace in order to get it printed. Try replace('"','\\"')