![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2014
Device: Kindle Touch
|
Search and Replace Help
I want to delete a string in at the end of each page on a PDF that I'm converting to a MOBI. I looked at the help guide at http://manual.calibre-ebook.com/regexp.html but I still can't get it to work. I want to delete the string "(1 of 224)18/12/2003 23:07:53" The page number changes and the string doesn't include the quotation marks. I would really appreciate the help!
|
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You will also find that the timestamp changes
Code:
(\(\d+ of 224\)18/12/2003 23:\d+:\d+") Last edited by theducks; 01-08-2014 at 12:07 AM. Reason: escaped (, plus nest |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
instead of the page number you will want to use "\d{1,3}" -- this means match a digit (\d) one to three times. You could also use the plus instead, "\d+" to match one or more times, I just like being specific.
Quote from the manual: (http://manual.calibre-ebook.com/rege...-to-make-sense) Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
Tags |
conversion |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search/Replace ID? | OldLincoln | Calibre | 4 | 09-04-2013 03:50 PM |
Need Help with Search and Replace please! | worley | Conversion | 2 | 07-28-2012 09:29 AM |
Search and replace | TdeV | Sigil | 1 | 10-30-2011 04:45 PM |
search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 03:07 AM |
Why no search and replace? | charleski | Sigil | 10 | 11-24-2009 04:13 PM |