in reply to Re^3: Remove duplicate from the same line..in thread Remove duplicate from the same line..
You are not very open to experimentation, are you?
my $str = "Goldman Sachs Group, ... Goldman Sachs Group, Inc.";
$str =~ s/ \b (.+) \b [,.\s]* \1.* /$1/gx;
No recent polls found