I have hundreds of input files that are very similar, but contain slight differences. I want to replace every line 4 in all open documents with another line of text. The search and replace function does not work, as line 4 has different text in the various files.
A crude example of what I want to do is shown below:
file A line 4: some text
file B line 4: different text
replace line 4 with: new text