GREP straight quote javascript translation
...Trying to find/replace the below, but extend script errors on the straight quotes expression — so how do I get javascript to recognize straight quotes " ?
Attempted searching via google but things got complex and messy real fast, so figured I would ask the source.
Thanks again everyone.
//reset GREP preferences
app.findGrepPreferences=app.changeGrepPreferences=null;
app.findGrepPreferences.findWhat="(?<=\\d)~}";
//app.changeGrepPreferences.changeTo="~"";
app.changeGrepPreferences.changeTo="~"";
app.activeDocument.changeGrep();