Thread
:
Xpath expression for detecting chapter marks
View Single Post
11-13-2010, 11:11 PM
#
2
wallcraft
reader
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
I have not tested it, but try
Code:
--chapter "//*[re:test(., '^[0-9]+$')]"
The "^" is for start of line, "[0-9]" is a digit, "+" is one or more instances, "$" is end of line.
wallcraft
View Public Profile
Find More Posts by wallcraft
Track Posts by wallcraft via RSS