Because your searches overlap, I would make use of the previous searches to simplify the Greek/Operator code
First Round: do the searches regardless of the characters
Second Round (Greek): Find Greek characters and then work out what character style is applied and append 'Greek' to the character style
Third Round (Math): Find Math characters and then work out what character style is applied and append 'Math' to the character style
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|