Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

873.Advanced search and replace -- How to delete duplicate numbers in every line in text file?

User: Rodrigo -- 2011-10-13          << 872  874 >>
Hits: 1625
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to delete duplicated numbers in a line?
Input Sample:
123,456,123,789,456,999,000,999
Output Sample:
123,456,789,999,000
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialog
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:

3. click 'replace', done.

Screenshot 1:  Replace_Window


Similar Examples:
How to delete duplicate lines of a text file? (80%)
How to add a page number after every 40 lines in a text file? (75%)
How to calculate the summaries of every line in a txt file? (75%)
How to sort and delete duplicate lines of a text file? (75%)
How to calculate summary of every column in a text file? (71%)
How to randomly deletes x number of lines from text files? (70%)
How to delete the first word in each line in a text file? (68%)
How to remove the sequence number before each line of text file? (67%)

Check Demo of Advanced search and replace
Keywords:
eval  delete duplicate  how to delete duplicate  grep  duplicated  scalar  duplicate  duplicat  dupl  every line  duplicate every line  delete numbers  delete duplicate line  delete duplicate text  duplicate line in text file  duplicate text line  duplicate line  line numbers