uday_sagar has asked for the wisdom of the Perl Monks concerning the following question:
Hi Folks,
I have a text file which is shown below.
hi how are you? how are you? how are you? Good to see you at perlmonks.org bye see you!
Here I want my text file to pose the question- how are you?, only one time. (as shown below)
hi how are you? Good to see you at perlmonks.org bye see you!
Waiting for your suggestions.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Deleting a string which is repeating(more than once) in a file.
by Corion (Patriarch) on May 21, 2012 at 09:22 UTC | |
|
Re: Deleting a string which is repeating(more than once) in a file.
by johngg (Canon) on May 21, 2012 at 09:54 UTC | |
|
Re: Deleting a string which is repeating(more than once) in a file.
by aaron_baugher (Curate) on May 21, 2012 at 12:53 UTC | |
|
Re: Deleting a string which is repeating(more than once) in a file.
by ansh batra (Friar) on May 21, 2012 at 12:46 UTC |