View Single Post
Old 02-20-2011, 01:06 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 16,714
Karma: 10194838
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
The above examples at least had the key word "Chapter", Which I believe Calibre factory defaults will trap correctly

Other common: chapter headings: Just digits or Roman Numerals, which are fairly easy to spot and trap with a REGEX expression.

If JUST the numbers are Spelled out (Seventeen), Or the Chapters just have words (A Golden Harvest") things get tricky. Hopefully you will find a unique pattern before and after, you trap on.

(I use trap, to mean a Search pattern match)
theducks is offline   Reply With Quote