View Single Post
Old 03-06-2011, 06:56 AM   #10
bob_tm
Enthusiast
bob_tm began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jan 2011
Device: Kindle 3 WiFi, Onyx M92
Quote:
Originally Posted by pietro99 View Post
Edit: just worked it out....\d\d\d for all the page numbers.
I recommend

\d+

which means "one or more digits". That will cover all page numbers regardless of number of digits. As it stands, however, it will also get rid of alle numbers in the whole book, so it should be restricted using markers that makes the page numbers unique (like ^\s*\d+\s*$ which means a series of digits on its own on a line with possible white space before and after - also remember to add possible HTML tags that nmay surround the page number).

bob_tm
bob_tm is offline   Reply With Quote