Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

155.Advanced search and replace -- How to add a semicolon at the end of each line?

User: editor -- 2008-05-25          << 154  156 >>
Hits: 2287
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to add a semicolon at the end of each line?
Input Sample:
sdfsdfdsdf
dfdfdf
3233424
Output Sample:
sdfsdfdsdf;
dfdfdf;
3233424;
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source file 
2. ctrl-h open 'Replace' dialog 
in 'Replace' page 
* set 'Replace Unit' to 'Line'
* set 'Search for pattern': 

* set 'Replace with pattern': 

3. click 'Replace', ok! 

Note: $match means matched line here. \n means hard return.
Download Script:  scripts/155.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to add a <BR> at the end of each line? (79%)
How to add a word "myword" at the end of each line? (75%)
How to add code to the same affix in each line? (70%)
How to add random digit/chars at the end of each line? (68%)
How to add a line number at the beginning of each line? (68%)
How to delete the same field in each line? (67%)
How to add a space at the specific location of each line? (67%)
How to add first line to the start of each line? (66%)

Check Demo of Advanced search and replace
Keywords:
hard return  hard  colon  return  end of each line  end of  means  mean  end  matched  add semicolon end of each line  add semicolon to the end of each line  add semicolon at end of each line  add semicolon at the end of each line  add semicolon to end of line  add a semicolon for each line  add semicolon each line  replace to add semicolon at the 2