Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1362.Advanced search and replace -- How to remove content from the last interpunction to line end?

User: L.Y -- 2016-04-14          << 1361  1363 >>
Hits: 2470
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
Remove content from the last interpunction to the end of every line,and there are more interpunction as same as the last interpunction in the lines.
Input Sample:
AAA,BBB,123 
CC,DD,123456 
EEE,FFFF,1234
Output Sample:
AAA,BBB 
CC,DD 
EEE,FFFF
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open file 
2. ctrl-h open 'replace' dialogue 
* set 'replace unit' to 'Line' 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
3. click 'replace', done. 
Note: you can add other symbols like !, ; ... in step 2: 
 

Screenshot 1:  Replace_Window


Similar Examples:
How to remove space at beginning of the line? (62%)
How to remove any comments that from hash mark "#" to line end? (62%)
How to move a string from the beginning of the line to the end of the line? (57%)
How to remove the timestamps at the start of line in lrc files? (57%)
How to remove words found in the dictionary from the Title Tag? (55%)
How to remove everything between the products and the last slash in each line? (55%)
How to remove all hyphens after the first tab in each line? (54%)
How to replace one content of same files with different contents ? (54%)

Check Demo of Advanced search and replace
Keywords:
symbols  symbol  sym  same  every line  the last  last  content  every  very  remove symbols  remove last 3 lines  last lines remove  remove last lines  remove last 2 lines  remove same  remove same file  remove lines more