I have an epub which has tags like this in html
Code:
<body id="CCNA0-13649bfe67614ed3be03405aa6e1ffaf" class="calibre">
and this in toc.ncx
Code:
<content src="text/part0011.html#AFM60-13649bfe67614ed3be03405aa6e1ffaf"/>
For the first line, I need to replace it with
Code:
<body class="calibre">
whatever the id is.
For the second my idea is to replace
Code:
html#AFM60-13649bfe67614ed3be03405aa6e1ffaf"
against
- again whatever the long id is.Could somebody help me with the regex? I am not able to find a way using wildcards for the id