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: 404
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 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%)
How to remove everything from start of line to the first comma in each line? (62%)
How to add a space after the 15 character of each line? (62%)

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