Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

982.Regular expression replace -- How to add special symbols between lines?

User: jia -- 2012-07-29          << 981  983 >>
Hits: 2686
Type: Regular expression replace   
Search all Regular expression replace examples
Description:
how to add special symbols between lines
Input Sample:
AAAAA 
BBBBB 
CCCCC 
DDDDD
Output Sample:
AAAAA 
---- 
BBBBB 
---- 
CCCCC 
---- 
DDDDD
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file 
2. ctrl-h open 'replace' dialogue 
* set 'search for pattern' to:  
 
* set 'replace with pattern' to: 
 
3. click 'replace', done. 
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to add up to 4 spaces before each line? (58%)
How to add a specified value to the sequence number in each line? (57%)
How to add a semicolon at the end of each line? (57%)
How to add a space at the specific location of each line? (53%)
How to add all numbers by 30 after symbol ":" in each line ? (53%)
How to add in different sentences after the different lines? (51%)
How to replace text containing some special symbols in a text file? (51%)
How to batch add prefix and surfix for each line? (51%)

Check Demo of Regular expression replace
Keywords:
symbols  special  between lines  symbol  sym  between  regular expression  expression  regular  regula  text between pattern  search between  add text lines  add text to lines  add lines  replace between  search expression  search lines