BUG - 2020 - Scripting - GREP - Can't replace by empty string
In Indesign 2020, changing a GREP search result to an empty string doesn't work.
app.changeGrepPreferences.changeTo = "";
In a Text search it does work perfectly...
app.changeTextPreferences.changeTo = "";
3
votes

-
m1b commented
This should be a priority, in my opinion. Replacing text with empty string is very common usage.