Add space before and after words with a specific character style
Hi everyone, I'm not that great at indesign, but my typography teacher couldn't find a solution either. I hope someone can help me.
I have a long text with different body paragraph styles assigned to different parts of the body text. Each paragraph style has grep styles that are assigned to a lot of different words and are ofcourse linked to character styles. Some body paragraph styles have the same words in grep but a different character style assigned to it. I need to keep this.
Now, I want to add space before and after each word-grep-style that is linked to character style1. I can find all the words with Find&Replace when I look for them with character style1 in Find Format. But I have to manually add space before and after each word. Is there a way I can write a line in Find&Replace that does that for me?
So basically
Find Format: Character style1
Change to: [space] Character style1 [space]
I would be very very happy if someone could tell me how to do this 🙂 Thank you!
