Reply To: Help me with GREP

Home Page / Forums / InDesign User Groups / Help me with GREP / Reply To: Help me with GREP

#90768
James Nimmo
Member

Can somebody please help me with a bit of GREP I cannot figure out?

I am a complete novice so please be patient with me.

I am putting together a programme for 2017 for my local sailing club. Within the programme are various events. For example, I would like all the training events to be coloured green. All the courses start with “RYA” and end in either a return or a tab.
For example on March 12th (Sunday and 12 are black. I want the rest green)
Sunday{tab} 12{tab} RYA Short Range Certificate (VHF) Exam{tab} RYA Powerboat Level 2 Course{end of para}

My nearest thing to success has been the first 2 words appearing in green using “RYA \w*”

I would also like every social event which contains “Lunch or Dinner or Supper…etc” to be red. Again up to either a tab or end of para.

I have managed to get all events which containing “Committee Meeting (time)” to be grey using “\w+ Committee Meeting \(.+?\)” but that is my only success.

Can anyone please help me?

This article was last modified on December 27, 2016

Comments (0)

Loading comments...