Le 26/07/2010 18:38, Alan Munn a écrit : >> I think you need >> >> \s(\w+)\s+\1\s >> > > Except that that one doesn't work, and Claus's does? > I assume the problem is line endings and beginnings. I'm not sure which kind of regexes BBEdit is using, but \<(\w+)\s+\1\> may do the trick (\< means beginning of word). Manuel.