Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
600.Text file parser -- How to extract all words that has any letter doubled in a text file?
User:
editor -- 2010-08-28
<< 599
601 >>
Hits:
314
Type:
Text file parser
Search all
Text file parser
examples
Description:
How to extract all words that has any letter doubled in a text file?
In examples below, "Pioneer" has double "e", and differences has double "f"
Input Sample:
Replace
Pioneer
is
making
differences
You
can
replace
Output Sample:
Pioneer
differences
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open source text file
2. ctrl-h open replace window
* set 'replace unit' to 'word'
* in 'search for pattern', enter:
(\w)\1
* in 'replace with pattern', enter:
$match\n
* uncheck option of "print unmatched unit"
3. click 'Replace', done.
Screenshot 1: Replace_Window
Similar Examples:
How to extract all numbers that are greater than 60 in a text file?
(71%)
How to extract all lines longer than 80 characters from a text file?
(68%)
How to count how many english words has less than 5 letters in a text file?
(65%)
How to extract all lines that has more than 4 columns from csv file?
(64%)
How to extract all html address from a text file?
(63%)
How to extract all distinct parent folder names from a list of files?
(62%)
How to extract all lines with numbers from many text files?
(62%)
How to extract all upper cases words from a text file?
(62%)
Check Demo of
Text file parser
Keywords:
double
extract all words
letter
examp
example
unmatched
unmatch
print
text file parser
parse
double words
examples of text
word letter
extract words
text file word parser
extract word
replace letter
open source text file parser