|User: editor -- 2008-05-21 << 140 142 >>|
|Type: Advanced search and replace|
|Search all Advanced search and replace examples|
|How to remove following text containing various time? |
32 minutes 56 seconds
1 hour 22 minutes 11 seconds
2 hour 12 minutes
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|The requirement is to remove all lines containing 'minutes' |
1. ctrl-o open source file.
2. ctrl-h open 'Replace' dialog,
in 'Replace' window,
* set 'Replace Unit' to 'Line'
* fill in 'Search for Pattern':
* fill nothing in 'Replace with Pattern'
3. click 'Replace'
|Download Script: scripts/141.rst.zip|
Screenshot 1: Replace_Window
|How to remove/delete all lines containing '123456'? (67%)|
How to remove all folders in a list containg folders and files? (60%)
How to remove/delete lines of csv file with column C containing 'CCC'? (60%)
How to remove/delete all lines not containing 'abc'(only keep lines containing 'abc')? (60%)
How to remove/delete all text enclosed by a pair of square bracket ? (59%)
How to remove/delete all text between '1:' and 'user:'? (59%)
How to remove/delete all blank lines in a text file? (59%)
How to remove/delete first column for multiple files? (58%)
Check Demo of Advanced search and replace
|requirement minut remove all lines containing delete following lines containing var remove all lines lines contain containing remove all line remove lines containing remove time text search replace with nothing remove all text following remove lines all remove lines with remove lines remove all text|