There's a unique, made-up word in a book I am editing. I need to italicize the first three letters of this word every time it occurs.
So far I have determined that GREP styles are my best shot at automatically formatting this word, but I have not been able to create a GREP string that works. Any help would be welcome!
Edit:
I managed to get a working GREP query, but this only works for me in the Find/Change dialog. I believe that these GREP strings need to be written a little differently depending on where they are used in the program...
By the way, the specific word I am looking for is youniverse
. I need you
to always be italicized.
My current working Find/Change GREP query is:
you(?=niverse)
This is a basic way to get the result I am looking for. Ideally this would be a GREP Style in my main paragraph style so I could procedurally apply this style every time the word occurs
If you need to match the first "Dan" of DankFarrik use this in your GREP search and apply appropriate character style:
You can also try this one