Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

100.Advanced search and replace -- How to re-organize following text and generate a new format dictionary?

User: editor -- 2008-05-14          << 99  101 >>
Hits: 2043
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to re-organize following text and generate a new format dictionary?
Input Sample:
#Word1 
Trans:word1 meaning1 
Trans:word1 meaning2 
Trans:word1 meaning3 
Trans:word1 meaning4 
 
#Word2 
Trans:word2 meaning1 
Trans:word2 meaning2 
Trans:word2 meaning3 
...
Output Sample:
Word1=>word1 meaning1;word1 meaning2;word1 meaning3;word1 meaning4 
Word2=>word2 meaning1;word2 meaning2;word2 meaning3 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
It's a little complicate for beginner, just follow steps: 
1. ctrl-o open source file  
2. ctrl-h open replace dialog,         
in 'Replace' page, 
1)set 'Replace Unit' to 'Paragraph' 
2)set 'Search for pattern' to: 
 
3)set 'Replace with Pattern': 
 
in 'Settings' page: 
set paragraph delimiter--paragraph start to 'other' and fill value  
 
3. Click 'Replace', that's ok!  
Download Script:  scripts/100.rst.zip

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Settings_Window


Similar Examples:
How to make following user defined format conversion? (60%)
How to re-organize excel data with complicate date format? (58%)
How to sort all the lines by the order of date with format day-month-year? (55%)
How to reorganize following ":" delimited data into columns? (55%)
How to replace strings and numbers with new format in multiple files? (53%)
How to batch reorganize following stock datas from CSV to TXT? (53%)
How to batch rename files by generating a random word that in the list? (52%)
How to convert each line of a text file to the new format? (52%)

Check Demo of Advanced search and replace
Keywords:
ansi  paragraph delimiter  trans  dictionary  diction  pages  comp  dic  paragraph  paragra  text to dictionary  search paragraph  paragraph pattern  paragraph replace  replace paragraph  replace a paragraph  generate file  format a text file