in reply to Re^2: remove specific data from a linein thread remove specific data from a line
$line =~ s/^(abc)\w+\s+\S+(?:,\s*\S+)*/$1/x; [download]