I have a number of strings that have various HTML encoded characters such as ', & etc. Is there a way to convert these into plain character strings other than a bunch of str.replace(/'/g, "'") type statements?
Without direct access to the DOM (and its parser), you'll need to either install a package to do this for you or write one yourself to do all those str.replace(/'/g, "'") type statements.