Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

521.Advanced search and replace -- How to remove every other characters on each line of text?

User: editor -- 2010-05-27          << 520  522 >>
Hits: 2452
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to remove every other characters on each line of text?
Input Sample:
r-e-p-l-a-c-e
s-e-a-r-c-h
r-e-n-a-m-e
Output Sample:
replace
search
rename
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
* set "replace unit" to "Chars"
* set "replace scope" to "Line"
* set "Unit Number Filter" to 2<2>
* set "Search for Pattern" to:

3. click "Replace", done!
Note: 
* 2<2> means number start from 2 and increasing by step of 2.
* [^\n] means non-return character.

Similar Examples:
How to reverse the order of characters in each line of text? (84%)
How to remove the first 10 characters of each line in text file? (79%)
How to remove everything before first space in each line? (71%)
How to remove everything after the first comma in each line in a text file? (70%)
How to remove the sequence number before each line of text file? (66%)
How to remove everything that appears before the "->" in each line? (66%)
How to remove all letters before "=" in each line of text file? (64%)
How to replace the second character of every line to 4 in a text file? (63%)

Check Demo of Advanced search and replace
Keywords:
remove every other character  every other  increasing  return  increas  non  unit number filter  number filter  replace scope  scope  remove characters from start of line  remove characters from start of each line  remove characters of every line  remove characters from each line  every other line  search replace increasing number  increasing number  every character