Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

729.Advanced search and replace -- How to remove the text from line start to the first ":" in each line?

User: editor -- 2011-03-01          << 728  730 >>
Hits: 2689
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to remove the text from line start to the first ":" in each line?
Input Sample:
Name: xxxx 
Age: nnn 
Address: zzzz:www 
Tel no: 888-222-999-111
Output Sample:
 xxxx 
 nnn 
 zzzz:www 
 888-222-999-111 
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' window 
* set 'replace unit' to 'Chars' 
* set 'replace scope' to 'Line' 
* set 'search for pattern' to: 
 
3. click 'replace', done!

Screenshot 1:  Replace_Window


Similar Examples:
How to remove everything from start of line to the first comma in each line? (72%)
How to remove all hyphens after the first tab in each line? (67%)
How to remove/delete the text from the '#' to the end in each line? (67%)
How to remove everything before first space in each line? (66%)
How to remove or keep the lines started with a word of number? (64%)
How to split a text file according to first word in each line? (63%)
How to extract text from 'start' to 'end' in each line? (63%)
How to process text files, only keep the first word of each line? (63%)

Check Demo of Advanced search and replace
Keywords:
the text from line start to the first  line start to the first  replace scope  scope  chars  the first  first  rst  how to remove  remove  remove the first line  remove first line  remove line first  replace line start to the first  remove line start  remove start line  remove first  remove line from