http://qs321.pair.com?node_id=1036550


in reply to Re^3: Remove duplicate from the same line..
in thread Remove duplicate from the same line..

This is a very good objection to the whole exercise. There is not really any way to know whether Smith Smith, Inc is a duplication or a valid company name. Without some real world knowledge I cannot see a way to distinguish between the two. As a remediation one could write all replacements into a log file for review and build a list of exceptions.