I need a script which insert a tab before UPPERCASE text in "[Paper]" color. Would it be possible?
Thanks in advance,
You don't need a script. In the Grep tab of the Find/Change window:
Find what: (?=\u\u+)
Find format: [Paper] colour
Change to: \t
Hi Peter, thanks for that! It worked just as expected. 🙂
I just noticed that some uppercase text contain a anchored object right before it in the documents I'm currently working on. Therefore, the provided GREP is not finding them 😞
Do you know any GREP which add a tab in the midle of an object and uppercase text?
Thanks again for your help!
Edit your "Hyperlink" char style and change its color to [paper]
Then Find: ^(?=~a?\u)
(^/) The Jedi
I don't know if a script is doable, but why don't you simply run a Find-Change?
Edit: too slow…