Le 27/07/2010 14:42, Alan Munn a écrit : > Anyway, the following regexp really does work: > > \b(\w+)\b\s+\1 > I'm afraid it will match on "foo foobar". I'd recommend: \b(\w+)\s+\1\b Manuel.