hello everyone, I have a file with 200 pages and I need to remove all the spaces between the number and the "mL". this is the script Im using, but its not working. I need your brilliant minds again... thank you in advance.
try {
app.findChangeGrepOptions.properties = ({includeFootnotes:true, kanaSensitive:true, widthSensitive:true});
app.findGrepPreferences.properties = ({findWhat:"\d\s\mL|\d\s\ml"});
app.changeGrepPreferences.properties = ({changeTo:"(/\s/g, '')"});
changeObject.changeGrep();
} catch (e) {alert(e + ' at line ' + e.line)}
app.findChangeGrepOptions.properties = options;
app.findGrepPreferences = NothingEnum.NOTHING;
app.changeGrepPreferences = NothingEnum.NOTHING;
app.scriptPreferences.version = scriptVersion;