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
536.Regular expression replace -- How to duplicate every letter of a-z and A-Z in a text file?
User:
editor -- 2010-06-15
<< 535
537 >>
Hits:
316
Type:
Regular expression replace
Search all
Regular expression replace
examples
Description:
How to duplicate every letter of a-z and A-Z in a text file?
Input Sample:
This is to test how to double each letters in a text file
Output Sample:
TThhiiss iiss ttoo tteesstt hhooww ttoo ddoouubbllee eeaacchh lleetttteerrss iinn aa tteexxtt ffiillee
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 dialog
* in 'search for pattern' enter:
([a-zA-Z])
* in 'replace with pattern' enter:
\1\1
3. click "Replace", done.
4. ctrl-s save to file.
Similar Examples:
How to duplicate each line 5 times in a text file?
(71%)
How to delete duplicate numbers in every line in text file?
(67%)
How to replace the second character of every line to 4 in a text file?
(64%)
How to add 3 spaces after every 9 characters in a text file?
(64%)
How to delete duplicate lines of a text file?
(63%)
How to calculate summary of every column in a text file?
(62%)
How to calculate the summaries of every line in a txt file?
(62%)
How to replace every 3 instances found in a text file?
(62%)
Check Demo of
Regular expression replace
Keywords:
duplicate
duplicat
letter
every
regular expression
expression
regular
regula
enter
save
replace duplicate
duplicate file
replace letter
replace every
search and replace open source
search and replace text
replace pattern in text file
replace text pattern