|
|
#1 |
|
Zealot
![]() Posts: 136
Karma: 10
Join Date: Oct 2013
Device: kindle paper white
|
Edit entire book for repeated title with incremental numbers
Hi I have a number of books from old authors where annoyingly every few paragraphs it says Mary Balogh 23, the Mary balogh 24. I know the name can be removed easily but what about the associated number ? Can I remove all in one command? TIA
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
You can use Find in Regex mode and use a simple regex...
Code:
Mary Balogh \d{1,3}
Also ensure the "Case Sensitive" option is unticked as it looks like a mix of upper and lower case first letters. The Replace is up to you. Leave it blank/empty or add a space. Test on the first few one at a time and see how it works. |
|
|
|
|
|
#3 |
|
Zealot
![]() Posts: 136
Karma: 10
Join Date: Oct 2013
Device: kindle paper white
|
what is Regex mode?
|
|
|
|
|
|
#4 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,249
Karma: 61360164
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You ARE using the Editor?
The FIND box has modes. Normal had 2 wild cards: ? or * REGEX has super powers (precision patterns) Get yourself a REGEX 'Cheat sheet' NB: Calibre and Sigil use the PCRE dialect so not every cheat works
|
|
|
|
|
|
#5 |
|
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,592
Karma: 14328510
Join Date: Nov 2019
Device: none
|
For Project Gutenberg those are typically page numbers for the pages from the original book.
|
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
In the book editor (Edit Book). I am guessing you are familiar with this as you already stated you knew how to remove just the name.
Last edited by BetterRed; 09-25-2021 at 04:55 AM. Reason: oversize image |
|
|
|
|
|
#7 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,249
Karma: 61360164
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
decoding the REGEX
Literals (the exact letters) a space \d (a digit){1,3} (1 to 3 times) |
|
|
|
|
|
#8 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,010
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Ok, thanks. Will do.
I tried to use [img=500x500][/img] but looks like that is not set up on this forum. Is there a quota per user for "Attachments"? |
|
|
|
|
|
#10 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,249
Karma: 61360164
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Each attachment has a file size listed next to its type in the Attachment tool |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Edit feature entire book | pinky62 | Library Management | 3 | 07-22-2020 12:40 PM |
| Edit Book: Handling of 'umlaut' in <title>Wilde Schw�ne</title> | chaot | Editor | 3 | 04-26-2016 12:34 PM |
| Aura HD Page numbers do not work for entire book | bearymore | Kobo Reader | 6 | 07-15-2015 08:25 PM |
| Removing the Footer with Page numbers and book title? | omro | Kobo Reader | 24 | 11-11-2012 03:47 AM |
| PDF, MacOS: Edit book title? | Juggle4Evr | Sony Reader | 10 | 02-04-2009 02:32 PM |