User: pik -- 2014-07-31 << 1222 1224 >> |
Hits: 3256 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
remove duplicate content (which is in chinese ), but the format like carriage return, etc, need to remain, don't remove any duplicate blank line, don't remove any duplicate line breaks or carriage returns ,ONLY remove duplicate characters which is in chinese language ,thanks |
Input Sample: |
[b][b]Œ§×x£º[/b][/b] [color=#548DD4][b]ß@ÊÇһƪ±»‰m·âµÄÐżþ£¬Ôø½›¸Ä׃ÁËÉÏǧÈfµÄÈËÃüß\ºÍÉú‘B £¡ÄãµÄʘIºÍÈËÉúºÍÄãËùÓÐµÄ î‘BŒ¢•þ³ö¬FħÐg°ãÞD׃??[/color][/b] [color=#E36C09]¡¡¡¡ µÚ¶þ¡¢¾Ü½^Ò»·ÝÕT»ó²»ÒªÍϵ½Ã÷Ì죬·ñ„tËü•þÔì³ÉÄãµÄ‚ûº¦¡£[/color] [color=#E36C09]¡¡¡¡ µÚÈý¡¢×¥×¡Ò»´Î™C•þ²»ÒªÍϵ½Ã÷Ì죬·ñ„tʧȥÁ˾Ͳ»•þÔÙí¡£[/color] [color=#E36C0dsf9]¡¡¡¡ µÚ¶þ¡¢¾Ü½^Ò»·ÝÕT»ó²»ÒªÍϵ½Ã÷Ì죬·ñ„tËü•þÔì³ÉÄãµÄ‚ûº¦¡£[/color] |
Output Sample: |
[b][b]Œ§×x£º[/b][/b] [color=#548DD4][b]ß@ÊÇһƪ±»‰m·âµÄÐżþ£¬Ôø½›¸Ä׃ÁËÉÏǧÈfµÄÈËÃüß\ºÍÉú‘B £¡ÄãµÄʘIºÍÈËÉúºÍÄãËùÓÐµÄ î‘BŒ¢•þ³ö¬FħÐg°ãÞD׃??[/color][/b] [color=#E36C09]¡¡¡¡ µÚ¶þ¡¢¾Ü½^Ò»·ÝÕT»ó²»ÒªÍϵ½Ã÷Ì죬·ñ„tËü•þÔì³ÉÄãµÄ‚ûº¦¡£[/color] [color=#E36C09]¡¡¡¡ µÚÈý¡¢×¥×¡Ò»´Î™C•þ²»ÒªÍϵ½Ã÷Ì죬·ñ„tʧȥÁ˾Ͳ»•þÔÙí¡£[/color] |
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 'Paragraph' * set 'if' to: * click 'advanced' tab, set 'run following at the beginning of replace' to: 3. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |