Okay, I finished testing this. (I used Python directly, not Calibre, but since I used the exact same function, the results should be the same.)
Use this search pattern:
The replacement pattern is:
I made the same assumptions as in my earlier post
Originally Posted by schuster
have you any idea to make an expression work with 2 or more footnotes too??
have a little library with tech-books and science, where will be more than one footnote .
Post relevant examples of the HTML, and I'll see what I can do.