The latest Calibre 0.6.0 beta releases now have an option to remove headers and footers under the Structure Detection part of the conversion parameters with the ability to specify a Regular Expression to identify the header/footer text. This might do what you want? The default RE provided is quite complex and will probably need amending for your particular documents, but it could still be worth looking at.
|