Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Remove duplicate from the same line..by Anonymous Monk |
on Jun 01, 2013 at 15:36 UTC ( [id://1036464]=note: print w/replies, xml ) | Need Help?? |
Thx. Athanasius... That was good. but now I got 1 more problem, I have a company name like "Goldman Sachs Group, ... Goldman Sachs Group, Inc." Here I want only 'Goldman Sachs Group'. Is there any option for that? Basically If a word appear second time in a single line delete the rest of the line including that word and trim out if any , or . is present!. Is that possible? & Thx rpnoble, I will do it like that... :) Thx.
In Section
Seekers of Perl Wisdom
|
|