in reply to Duplicate Words
FYI, nearly all of the constructs you use in that regex aren't supported by sed. If you are going to recommend not using Perl, then you also have to not use Perl-specific regex features. q-: