[OS X TeX] Regular Expression needed...

Gary L. Gray gray at engr.psu.edu
Sun Nov 7 18:33:30 EST 2010

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

More information about the MacOSX-TeX mailing list