View Single Post
Old 08-16-2009, 03:54 PM   #8
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 user_none View Post
Code:
- \d{1,3} -
Also, you might find this useful.
Same effect, only one and three digit numbers are removed. Any ideas?

If I use "\d{1,3}" all the page numbers are removed, but naturally the hyphens stay behind.
If I use "- \d{1,3} -" all page numbers including hyphens are removed without the page numbers that have two digits.

Last edited by DerSchwarzePrinz; 08-16-2009 at 04:52 PM.
DerSchwarzePrinz is offline   Reply With Quote