[OS X TeX] Regular Expression needed...

Gary L. Gray gray at engr.psu.edu
Mon Nov 8 00:33:30 CET 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 macostex-archives mailing list