Quote:
Originally Posted by gers1978
Ok, tried that, now it seems the chapters are defined by:
<div class="mbp_pagebreak"/><blockquote class="calibre_24"><blockquote class="calibre_25"><font size="5">CHAPTER 1</font>
</blockquote></blockquote>
|
Try:
Code:
//*[re:test(., 'CHAPTER ')]
Note there is no ",'i'" because you want to match just all the capital letter case. If this gives false positives, you can add that CHAPTER is start of an element, "^", and the chapter number, perhaps:
Code:
//*[re:test(., '^CHAPTER [1-9]')]