1 while $text =~ s/(\b(\w+)\b.*)\b\2\b\s?/$1/s; [download]
-Blake
In reply to Re: remove duplicates by blakem in thread remove duplicates by cruelty