Find Replace across several pages
Hello
I've got an epub of 1500 html files, made of 15 Chapters named A to 0 and subchapter
I've got several TOC in html : one global plus one per each chapter which is is positioned just at the beginning of the chapter.
On the global TOC in file_001.html, I've got this an expression which gives the link to the Chapter A, sub 1:
a class="text_1" href="../Text/file_003.html#id_ChA__sub_1">Chapter A, subchapter 1</a></p>
and in the 002.html file which is the TOC for the chapter A, I've got :
<a class="text_2">Chapter A, subchapter 1 : some introductory text to subchapter</a>
I want in the file 002.html to introduce the link to Chapter 1, sub 1 in order to have this expression
<a class="text_2"href="../Text/file_003.html#id_ChA__sub_1">Chapter A, subchapter 1 : some introductory text to subchapter</a>
The difficulty is to get the expression from one file 001. html and to paste it in the 002.html. and to do it for all chapter TOC.
How an I do it ?
Thanks for your help
Villard
|