Seemed like a trivial task to me but a failed to accomplish this in the past one hour.
The regular expression should match every word that does not contain the phrase 'exclude phrase'.
For instance:
Match:
'ok string'
'some phrasOk because thre is no e in phrase'
etc...
Not match:
'exclude phrase'
'Some prefix exclude phrase'
'exclude phrase some suffix'
etc...