Hey All, I am new to GREP, and so far I have been getting along very well. However, I may have bit off more than I can chew with this one statement. Here is what I need the copy to look like:
W Sec. 1: Thurs. 6–9.30 p.m., June 7–28 (4 sessions). Jonathan Schnapp, developer and president, Schnapp Studio Inc.
L Sec. 2: Sat. 9.30 a.m.–5.30 p.m., June 30–July 7 Claudia Uscategui, on-site design consultant, Arup Americas.
W Sec. 1: Sat. 9 a.m.–4 p.m., June 2–9 (2 sessions). Marc A. Thorpe, founder and principal, Third Eye Studios; Susan J. Slotkis, designer and sole proprietor, Profiles-Personalized Interiors
M Sec. 1: Wed. 6–9.30 p.m., July 11–Aug. 1 (4 sessions). Sharon “Libby” Clarke, Sigma Studios
You'll notice that the names are roman, but everything else is italic. Plus, the letters in the beginning are in bold. Here is the GREP I wrote so far:
Apply Style: Roman
(?<=[).s]|[d+s]|[;s])([lu]+)( )([.*?)?([lu]+)([. ]?)( )?([lu]+)
Apply Style: No Break
(u[lu]+)( |~s|~S)(d+)(~_|~=|~~|-)(d+|(u[lu]+)(.?)( |~S)(d+))
Apply Style: Bold
^([lu]?)
Apply Style: No Break
(().+?())
Apply Style: No Break
(.){15}$
Everything seems to be working except for the names being properly changed to roman. I thought I planned out for every possible scenario, but for some reason, it doesn't always work correctly. Does anyone have any suggestions? Thanks in advance for your help.