Am working in Indesign. The idea is that a student can choose what word makes the sentence correct. Want to use grep or nested styles to acchieve the following:
So i have a series of sentences where i want to have the latest word before a slash and the first word after the slash to be styled.
Example: This man makes / does an appointment
How can i use grep to style the words (makes and does) around the / (back slash) and make them bold.
- How to only select a word?
- I could try to find two spaces before and after the / forward slash
code i tried and got all my words before the slash in same style: ^.*?(/|$)
Hope you can help me out