Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

971.Advanced search and replace -- How to delete all blank/space at the beginning of each line?

User: bruce lee -- 2012-07-16          << 970  972 >>
Hits: 4243
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
how to delete all blank space begin of lines?
Input Sample:
MAILER-DAEMON@mail.us2.cn4e.com] 
[spaces here]brucelee@cnatschem.com 
m-komatsu@fjiiryoki.jp 
[spaces here]MAILER-DAEMON@mail.umail79.cn4e.com] 
brucelee@cnatschem.com
Output Sample:
MAILER-DAEMON@mail.us2.cn4e.com] 
brucelee@cnatschem.com 
m-komatsu@fjiiryoki.jp 
MAILER-DAEMON@mail.umail79.cn4e.com] 
brucelee@cnatschem.com
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 '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 space at beginning of the line? (72%)
How to add a line number at the beginning of each line? (71%)
How to add different words at the beginning of each line? (69%)
How to delete the same field in each line? (63%)
How to decrease the first 4 digits in the beginning of each line by 1000? (63%)
How to delete the full stop in the end of the lines. (63%)
How to insert a word or phrase to the begining of each line? (63%)
How to delete all text after the second comma in each line? (62%)

Check Demo of Advanced search and replace
Keywords:
blank space  blank  delete all  space  begin of line  replace scope  scope  at the beginning  beginning  how to delete  how to delete the blank space  delete all space  delete space  delete blank lines  delete blank line  delete blank  delete beginning line  delete text at beginning