View Single Post
Old 08-19-2009, 05:29 AM   #1
irisclara
Member
irisclara is on a distinguished road
 
irisclara's Avatar
 
Posts: 17
Karma: 60
Join Date: Aug 2009
Device: eee 900ha, CM7 Nook Color
remove PDF footer containing variable?

If this question is answered elsewhere, I apologize for wasting time. I did look.

I have a number of pdf files with footers (and sometimes headers) like

file://quickbrownfox/(65 of 296)

so the page number counts up to the total.

I've looked at python regular expressions but I can't figure out how to tell Calibre to leave these lines out when I convert to rtf.

Alternately, does anyone know of a way to remove sequential page numbers in a rtf? Then I could remove the parts of the line that stay the same with the extended replace function in TED notepad and the page numbers some other way.

Thanks.
irisclara is offline   Reply With Quote