Grep finding a phrase after the upto a specific set of words
Hello, struggling to get my head round an expression that will do this... need to add a bold style to a couple of variations on a few words always after a 'the' for example:
take a look at the dolphin ecolocation visual
watch the dolphin hunting video
look at the dolphin ecolocation handout
I've bolded what I want to bold within the text. I've tried a few variations on positive look aheads and using an or expression to cover the various endings of the phrase i'm looking for... rough outline of where I got to below
(?=the)\w+((?i)video|(?i)visual)