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: 2186
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 batch generate html files from a html template file? (66%)
How to generate files from template file, where some variables come from a list? (65%)
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 create files from template where filenames and keywords come from a list? (60%)
How to auto generate required url from list of words? (58%)
How to generate a list of sentences from template sentence? (57%)
How to replace content of many files with text from a template file? (56%)

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