Search document for SpecialCharacters Enumerator
Hi,
I've placed a Word document that has loads of irritating Unicode markers
(left-to-right etc.)
There is no way that I can see of using the UI to search and delete
these characters.
The unicode value of these markers is: 0x200E as it appears from the
Info palette, but that Unicode value is shared by various things.
Selecting a marker and get its contents (app.selection[0].contents)
returns the number: 1399616109. This is in fact the number for
SpecialCharacters.LEFT_TO_RIGHT_MARK.
To cut a long story short and make a specific question general:
How do you search for a SpecialCharacter that doesn't have an escape
code in the GREP find/replace?
What I've done so far is looped through all the characters in the
document and compared their contents to 1399616109. But this is very
slow, and is also causing InDesign to crash.
Is there a better way?
Thanks,
Ariel
