Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

898.Text generator -- How to generate a csv file from a template file and a list of words?

User: cnteresa -- 2011-12-20          << 897  899 >>
Hits: 170
Type: Text generator   
Search all Text generator examples
Description:
How to generate a csv file from a template file and a list of words?
Input Sample:
======================
The template file(template.csv)

This is Beijing,I love Beijing

======================
A list of word(city.txt):
Beijing
Tianjin
Shanghai
...
Output Sample:
=====================
Generate following csv file(output.csv):

This is Beijing,I love Beijing
This is Tianjin,I love Tianjin
This is Shanghai,I love Shanghai
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Assume file template.csv is in folder c:\test\
1. ctrl-o open the word list file city.csv
2. ctrl-h open 'replace' dialogue:
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:

3. click 'replace', done.
4. ctrl-s save the result to output.csv.

Screenshot 1:  Replace_Window


Similar Examples:
How to generate IE favorite items from a list of url addresses? (63%)
How to create a serial files from a template file with "_TAG_" replaced by different strings? (63%)
How to batch rename files from file content after Title and Author? (55%)
How to generate EMA columns and related STD of close value from stock data? (55%)
How to replace words in a text file only if they are whole words? (54%)
How to extract and join text from multiple files with user defined format? (53%)
How to replace multiple text in multiple files with variable strings? (53%)
How to generate EMA of close of different periods and related STD from stock data? (53%)

Check Demo of Text generator
Keywords:
test  word list  template  csv  text generator  generator  result  sum  tem  generate  generate from csv to template word  words to replace is generator  csv word generator  word generator csv  replace words generator  generate words  replace in word template  template word