Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1138.Text generator -- How to generate full combinations of "a b" where a and b are from 2 different files?

User: Aaron -- 2013-09-25          << 1137  1139 >>
Hits: 1335
Type: Text generator   
Search all Text generator examples
I have two word list files: A and B. I would like to add each word from File A to each word of File B as per the output below.

Input Sample:
File A

black; blue; green; etc.

File B

eyes; hair; coat; etc.
Output Sample:
black eyes; black hair; black coat; 
black etc.; blue eyes; blue hair; blue 
coat; blue etc.; green eyes; green hair; 
green coat; green etc.
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Assume file A.txt and B.txt are in the folder d:\test\
1. ctrl-o open file A.txt
2. ctrl-h open 'replace' dialogue
* set 'replace with pattern' to:

* click 'advanced' tab, set 'run following for each matched unit' to:

3. click 'Replace', done.

Screenshot 1:  Replace_Window

Screenshot 2:  Replace_Advanced_Window

Similar Examples:
How to generate 2 columns of HEX numbers which increased in different loop? (60%)
How to merge columns of 2 files with the same name in different folder? (59%)
How to extract all function name and sub name from VBA script file? (54%)
How to generate HEX numbers from  270F to 0000 where 270F been the first? 
How to generate a full number list base on given number range list? (54%)
How to generate a list of batch commands with different increasing id? (54%)
How to extract all lines with numbers from many text files? (53%)
How to replace certain column from different files?  (52%)

Check Demo of Text generator
combinations  combination  asp  full  bina  two  word list  different files  bin  test  generate full list  different folder  add tab  advanced word generator  two files  full list  the word generator  different word file