Thread
:
Detect chapter headings with capitalized words
View Single Post
05-31-2010, 10:45 AM
#
7
pietvo
Reader
Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
You could try something like:
Code:
//*[re:test(., '^\s*[0-9]+\s+[A-Z ]+\s*$')]
but we would need to see the actual HTML around the chapter titles to be sure. Notice the space after the Z.
pietvo
View Public Profile
Visit pietvo's homepage!
Find More Posts by pietvo
Track Posts by pietvo via RSS