User: Vlyne -- 2016-12-05 << 1383 1385 >> |
Hits: 2759 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
I have a series of lines containing an English word and its Chinese translation. I would like to insert a separator such as '/' before the first Chinese character. |
Input Sample: |
Alternative investment å¦ç±»æŠ•èµ„ Amortizable intangibles å¯æ‘Šé”€çš„æ— å½¢èµ„äº§ Amsterdam Stock Exchange 阿姆斯特丹è¯åˆ¸äº¤æ˜“所 |
Output Sample: |
Alternative investment/å¦ç±»æŠ•èµ„Amortizable intangibles/å¯æ‘Šé”€çš„æ— å½¢èµ„äº§ Amsterdam Stock Exchange/阿姆斯特丹è¯åˆ¸äº¤æ˜“所 |
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: * set 'replace with pattern' to: 3. click 'replace', done. 4. ctrl-s save to file. |
Screenshot 1: Replace_Window |
Similar Examples: |
How to insert a word or phrase to the begining of each line? (63%) How to extract the text between first comma and second comma in each line? (62%) How to extract the first 10 and last 10 characters from each line? (61%) How to add first line to the start of each line? (60%) How to sort file by the number which first appear in each line? (59%) How to limit a text file to less than 40 chars each line? (58%) How can I add a word before the last 10 characters of each line? (58%) How to remove everything before first space in each line? (57%) |
Check Demo of Advanced search and replace |
Keywords: |
chinese xff x01 series english word chin english trans lines containing ies insert first char insert a character insert character replace with a series char insert replace first 3 character each line insert first line before word |