You may occasionally have a value that includes a single or double quote within the JSON key/value pair. Sometimes this character is read as the end of the value itself instead of being treated as a literal value. In such situations you can replace it with the escape character \ (backslash) to make sure that the quotation mark is read as a literal instead of the end of the value itself.
Here is an example that has a single quotation mark in the value of a description field:
{ "description": "exampleValue'-21" }
Use the following handlebars expression to insert an escape character in front of the single quotation mark:
{{{regexReplace description "\'" "[\']"}}}
The output will include the escape character in front of the single quotation mark:
exampleValue\'-21
Let us know if there are other formatting issues we can help you with!