View Single Post
Old 10-20-2009, 10:21 AM   #5
DerSchwarzePrinz
Enthusiast
DerSchwarzePrinz began at the beginning.
 
Posts: 25
Karma: 16
Join Date: Aug 2009
Device: Pocketbook 360, Sony PRS-T1
Quote:
Originally Posted by robertlc View Post
I have a few PDF files someone else converted using ABBYY PDF Transformer.

Each page has a graphic in both top corners.

Looking at the page in Calibre's header wizard shows the encoding behind the graphic as this:

<...>

When converted to a mobi file, I get a bunch of lines that start with "PDF Transform" and then several letters, a couple of "Click here to buy," some more letters and then the "A B B YY.com" and ".A B BYY.com".

On my Kindle 2, this makes up about 2.5 pages I have to skip through every 3 or so pages and is annoying.

Can someone please tell me what I need to enter in the "Header Regular Expression" box?

Thanks in advance!
Have you tried the following regular expression?

PDF Transform .+ \.com

PDF Transform = Start of text, that should be removed
.+ = one or more characters
\.com = End of text, that should be removed
DerSchwarzePrinz is offline   Reply With Quote