Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1394.Regular expression replace -- How to delete all the lines with the '*' char?

User: dongshuai -- 2017-06-16          << 1393  1395 >>
Hits: 600
Type: Regular expression replace   
Search all Regular expression replace examples
Description:
how to delete the line with the *
Input Sample:
********************** **********************
*******************  total   8*******************
3.145667 -0.002902
3.492834 -0.011026
3.891794 -0.018719
4.239013 -0.026676
4.642468 -0.009604
5.039151 -0.024349
5.388206 -0.025604
5.839635 -0.027930
Output Sample:
3.145667 -0.002902
3.492834 -0.011026
3.891794 -0.018719
4.239013 -0.026676
4.642468 -0.009604
5.039151 -0.024349
5.388206 -0.025604
5.839635 -0.027930
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 'Line'
* set 'search for pattern' to:

3. click 'replace', done.

Note: add a backslash '\' before '*’ to unescape the special use of '*'.

Screenshot 1:  Replace_Window


Similar Examples:
How to delete all lines appear in file B from file A? (62%)
How to remove/delete all lines with even line number? (62%)
How to remove/delete all lines with three symbol '='? (62%)
How to remove/delete all lines with even line number? (62%)
How to remove/delete all blank lines in a text file? (62%)
How to shuffle all the lines in a text file? (61%)
How to delete duplicate lines of a text file? (60%)
How to delete all the lines without ceramics in text file? (59%)

Check Demo of Regular expression replace
Keywords:
cap  delete all the lines with  special  backslash  slash  delete all  bef  befor  before  how to delete  delete char before  how to delete all text before  delete before  special text 2  delete add  add before line  delete char  replace all before