I am trying to typeset a dictionary, and at the end of many of the word entries, there are additional references the reader can consult.
...definition here.
For further reference, apple; fruit; tree
I am trying to create a GREP that allows me to select all letter characters only (not the semicolons) between "For further reference," until the end of the line, which terminates in a carriage return. The matching characters will all be italicized. So far, I have something that will match every character (including the semicolon):
(?<=For further reference,)(.)*(?=\n)
but when I attempt to modify this to only select [a-zA-Z] the whole thing borks.
Does anyone have any tips? This is driving our team absolutely mad 🙃
Edit: in the same block of text (and in the same paragraph style), directly above the "for further reference,", there can also sometimes be found the text
...definition here.
See also ORANGES; PEARS; MANGOES
For further reference, apple; fruit; tree
The terms following "See also" should not be italicized.
I confess I am not the one doing the actual typesetting; I do web development but am asking this question for my colleague. So, my apologies if I am misusing some InDesign terminology. And for not providing the complete information from the start.