|User: user -- 2016-04-11 << 1360 1362 >>|
|Type: Advanced search and replace|
|Search all Advanced search and replace examples|
|There is a mixed text file containing English and Chinese lines, as well as |
the line starting with number. How to extract lines containing any Chinese
The sample below is only a simple sample, how to use “IF” window to
extract Chinese lines in complex text files.
|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.
4. ctrl-s save to file.
Screenshot 1: Replace_Window
|How to extract/remove all lines containing an accentued letter (72%)|
How to remove all folders in a list containg folders and files? (65%)
How to remove lines containing specified words in a text file? (64%)
How to remove all the lines that do not contain any of words in a list? (63%)
How to remove/delete all lines containing '123456'? (63%)
How to remove all lines but the second line from bottom? (62%)
How to delete/remove all lines that appearred more than once? (61%)
How to delete all lines containing specific word in specific column? (60%)
Check Demo of Advanced search and replace
|mix chinese xff x01 extract lines containing line starting with starting with starting chin english remove line only number extract all lines characters extract all lines containing use key extract lines containing text extract lines containing pattern remove all letters replace starting with|