Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

232.Advanced search and replace -- I have a log files which has every letters doubled, how to remove/delete the duplicate letters?

User: editor -- 2008-07-23          << 231  233 >>
Hits: 1806
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
I have a log files which has every letters doubled, how to remove the duplicate letters?
Input Sample:
TThhiiss  iiss  aa  tteesstt 
TThhiiss  tthhee sseeccoonndd  lliinnee
Output Sample:
This is a test 
This the second line
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source file 
2. ctrl-h open "replace" dialog 
 
in "Replace" page: 
* set search for pattern to: 
 
* set replace with pattern to: 
 
 
select "Advanced" page: 
* set "Run following for each matched unit" to: 
 
 
3. Click 'Replace', done! 
 
Note: for the newer version, following approach is recommended: 
set 'search for pattern' to:  
 
set 'replace with pattern' to: 
Download Script:  scripts/232.rst.zip

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Screenshot 3:  Replace_Window


Similar Examples:
Is there a way to batch rename files with all letters reversed, like abcd.txt to dcba.txt? (47%)
How to remove/delete consecutive duplicate lines in a text file? (45%)
How to sort and delete duplicate lines of a text file? (45%)
How to copy one file to create multiple duplicate files? (44%)
How to move a list of files that in different folders to a common folder? (44%)
How to change all the letters in a text file to upper cases? (44%)
How to batch download jpg files that listed in an excel file in order? (44%)
How to split a text file by line and rename each file to the line contents? (43%)

Check Demo of Advanced search and replace
Keywords:
double  letters  led  duplicate  duplicat  dupl  letter  version  rsi  every  open source remove duplicate  remove letters  search duplicate files  duplicate files  replace letters  remove duplicate  duplicate remove  replace duplicate