I have a text file with text of this order;
str/4 <</Contents(100 cups)/(Date) Colour red <</Contents(080 bowls)/(Date) Status used Pack team <</Contents(200 John)/(Date) School house
And another text file with a list of words in the order;
Tree house Colon format Same variable
Now the question is, how do I search or match the text between "Contents(" and ")/" in each line, i.e.. 100 cups, 080 bowls, 200 John and replace it with the text in the corresponding line from my second file? The first instance to be replaced should be replaced with the text in the first line, second replacing second, and third replacing third. Not sure of an autohotkey script or notepad++ could help. The final result should look like;
str/4 <</Contents(Tree house)/(Date) Colour red <</Contents(Colon format)/(Date) Status used Pack team <</Contents(Same variable)/(Date) School house
Replace certain text in lines with each line another file.