Remove / replace single quotes


Hi all,

I have what should be a simple question but I am finding it more difficult than I should. I want to remove single quotes (’) from an asset metadata as it is breaking my script and replace it with a version that doesn’t escape the script. I figured it would look some something like this:


It looks like its escaping when trying to do this because there is only 1 single quote in that line.

Any help would be greatly appreciated.


As is always the case, as I sent this I then figured out the issue and fixed it. Was a mixture of getting the regex right and doing it in the right place