View Single Post
Old 06-15-2011, 11:57 PM   #8
remltr
Junior Member
remltr began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Kindle
OK - I have figured out most of this on my own, but the way the page numbers are done is kind of insidious.

There are letter spaces between each number that is greater than one digit.

What I am going to show below is only the variable page number portion of the string being searched. The rest remains the same throughout the search, so need to muddy up what I am trying to point out.

This string \d will find pages 1 thru 9

This string \d+\s\d+ will find pages 1 0 thru 9 9 (notice the letter space)

This string \d+\s\d+\s\d+ will find pages 1 0 0 thru the end of the book

Granted I don't the + after the d, for this particular pattern, but it doesn't change the outcome with or without it.

Is there a way to put this all together in one search string? It would not be a problem if the search on each page was the same. But the even number pages include the author name, while the odd number pages include the title name. So that means it will take six search strings to clear it all out. Three searches for odd, complete the conversion from pdf to mobi, then reopen the newly created mobi and then do three searches for the even, finally converting once again to mobi. To bad there are not six search dialog windows.
remltr is offline   Reply With Quote