
Reg Exp - Negating a Word seems IMPOSSIBLE!
I'm trying to get write a reg exp that finds a match for each word in
a sentence, excluding the ones I specify.
e.g.
My input string is "hello my name is owen"
I want to exclude the word 'name'
So the resulting matches would be:
hello
my
is
owen
I can't belive there is no way to do this!
Please help,
Owen.