Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1223.Advanced search and replace -- How to remove paragraphs in which the full-wide chars are duplicated with previous?

User: pik -- 2014-07-31          << 1222  1224 >>
Hits: 1106
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]導讀:[/b][/b]

[color=#548DD4][b]這是一篇被塵封的信件,曾經改變了上千萬的人命運和生態
!你的事業和人生和你所有的狀態將會出現魔術般轉變??[/color][/b]



[color=#E36C09]  
第二、拒絕一份誘惑不要拖到明天,否則它會造成你的傷害。[/color]

[color=#E36C09]  
第三、抓住一次機會不要拖到明天,否則失去了就不會再來。[/color]

[color=#E36C0dsf9]  
第二、拒絕一份誘惑不要拖到明天,否則它會造成你的傷害。[/color]
Output Sample:
[b][b]導讀:[/b][/b]

[color=#548DD4][b]這是一篇被塵封的信件,曾經改變了上千萬的人命運和生態
!你的事業和人生和你所有的狀態將會出現魔術般轉變??[/color][/b]


[color=#E36C09]  
第二、拒絕一份誘惑不要拖到明天,否則它會造成你的傷害。[/color]

[color=#E36C09]  
第三、抓住一次機會不要拖到明天,否則失去了就不會再來。[/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


Similar Examples:
How to force word wrap with 24 half width or 12 full width chars or mixed per line? (55%)
How to remove partially duplicated lines in a text file? (53%)
How to replace all half-width characters to full-width characters? (52%)
How to reverse a text file by characters? (51%)
How to remove the xml tag and some duplicated tags of combined xml files? (50%)
How to remove all lines that have duplicate contents in CSV files? (50%)
How to remove (2) and add (1) at the same location in previous line? (49%)
How to remove consecutive duplicate words in multiple files? (49%)

Check Demo of Advanced search and replace
Keywords:
chinese  language  remove paragraphs  xff  x01  remove paragraph  paragraphs  line breaks  chin  previous  remove returns  chinese characters  replace carriage return  returns line  remove line return  remove return  return tab  remove breaks