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 = "";
2
votes
![](https://secure.gravatar.com/avatar/701675ac43546b128fde3124360ace73?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
[Deleted User] commented
This should be a priority, in my opinion. Replacing text with empty string is very common usage.