Quote:
Originally Posted by Manichean
Hm. Roman numerals contain combinations of "I", "V", "X" and maybe "L" (I don't think you'd have to go higher with books). So, the expression should do the job.
Edit to add: There's a tutorial for regular expressions and XPath in the Calibre manual that might help.
|
The title: "THE LAST UNICORN" all in capitals triggers a match, like so:
<h2 id="calibre_toc_2" class="calibre4">THE LAST UNICORN</h2>
Otherwise, it does match all the roman numerals in this book and no other unwanted lines.