I have a file first.html which contains the following code:
<tr>
<td class="headerValue">One</td>
</tr>
<tr>
<td class="headerValue">Two</td>
</tr>
Now I have another file second.txt which contains some values like:
hahaha
hehehe
I want to replace the value in each occurence of "headerValue" with the value from the second file.
Eg. after replacement first.html will become
<tr>
<td class="headerValue">hahaha</td>
</tr>
<tr>
<td class="headerValue">hehehe</td>
</tr>
The data from file second.txt is unrelated to the data from file first.txt