in reply to Re: Regex solution needed
in thread Regex solution needed

Look-behind is supported but not for variable length patterns, e.g. (?<!game|the)\s+cocks will not work.

The best solution IMO is to just allow the word 'cocks'.