View Single Post
Old 09-14-2014, 02:23 AM   #3
highstream
Enthusiast
highstream began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jul 2012
Device: Kindle
Thanks. My oversight. I had looked at the Search and Replace tab under Convert Books, but misunderstood the phrase "Regular Expressions," as it's a technical term for what in plain language means repeating expressions. That faq on PDFs helped, to a point.

I tried Mobipocket Creator, but it doesn't appear to recognize pdf's.

Ok, one of the new screenshots below shows how far I've come from the one in the OP; the other shows the underlying code in the PDF. The larger number is the chapter, which stays. The two pieces I've yet to figure out how to code as regular expressions are the small Chinese character and the number that follows (page), and the large graphic (below in the coding). For the first, getting rid of the Chinese character is no problem, but my attempts to get rid of the page numbers with brackets e.g., [0-9], have failed - and I'm afraid of that messing with the Chapter numbers. For the graphic, img src="index-1_1.jpg gets rid of one, but I'm not sure how to code an expression for all of them. Suggestions welcome. Thanks,
Attached Thumbnails
Click image for larger version

Name:	Calibre - Graham Greene pdf example after search and replace.JPG
Views:	137
Size:	22.3 KB
ID:	128323   Click image for larger version

Name:	Calibre - Graham Greene pdf example code.JPG
Views:	147
Size:	16.9 KB
ID:	128324  

Last edited by highstream; 09-14-2014 at 02:27 AM.
highstream is offline   Reply With Quote