On Nov 7, 2010, at 6:06 PM, Herbert Schulz wrote: > Can someone supply a regex that will find repeated words (e.g., repeated repeated) in a file? This is for use with TeXShop's OgreKit Find. It would also be nice to be able to have a replace regex to leave only one of the repeats. \b([a-z]+) \1\b