Hello to all
I have a bilingual line in my document, something like
Presentation | Apresentacao
Inside a paragraph style, I created a GREP to apply a Character style from the "|" character on.
How could I changed it to apply this character format only AFTER the "|" character? I don't want include the | in the character style.
Thanks in advance
Copy link to clipboard
It would be easier to use nested styles.
I used nested styles elsewhere, but here, sometimes I have 1 word, sometimes uo to 3 before the |
It does not matter, the trigger to apply the character style is the |, not a number of words.
ok, I see it now. Thank you so much!
This grep will find "1 space" and "word" after "|"
I joined your solution to mine and the following expression worked out:
Thak you all
This expression will find everything after "|" up to the end of paragraph.
If your situation is just:
English | Spanish^p
your expression works.
Be aware that GREPs make InDesign slower, nested styles are faster.