You need to be careful with that one, because it will mess with words that are repeated but aren't consecutive. It isn't clear if the poster wanted to trash only repeated consecutive words or all repeated words.
Michael.
Update:Right in front of me, and I still didn't read it right. Sorry runrig
Comment on Re: Re: most efficient regex to delete duplicate words