Remove JSON Control Characters


Is there an easier way to remove JSON Control Characters from text? Would be nice to have maybe Text Formatter, Text Basic Formatting, have an option for Remove JSON Control Characters or something similar. An option to remove, and an option to replace the characters with plain text or something.

My issue is trying to create new woocommerce product, and it says it cant because Invalid JSON body passed. Control character error, possibly incorrectly encoded.

I've tried to put text formatter, text replace, and replace characters like ", %, \n, but its still saying that. and then also you end up with a bunch of individual text formatter actions just to replace each character one by one.

Edit - I've just had a try at using the HTML to Markdown function, and this may be an option for me to use as it appears it may work for me
Last edited: