Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2021, 05:57 AM   #1
pinky62
Zealot
pinky62 began at the beginning.
 
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
pinky62 is offline   Reply With Quote
Old 09-24-2021, 06:20 AM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
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}
That should find numbers up to 999. If numbers pass 1000, change the "3" to a "4"

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.
Karellen is offline   Reply With Quote
Advert
Old 09-24-2021, 10:49 AM   #3
pinky62
Zealot
pinky62 began at the beginning.
 
Posts: 136
Karma: 10
Join Date: Oct 2013
Device: kindle paper white
what is Regex mode?
pinky62 is offline   Reply With Quote
Old 09-24-2021, 11:48 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
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 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
theducks is offline   Reply With Quote
Old 09-24-2021, 03:53 PM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,583
Karma: 14328510
Join Date: Nov 2019
Device: none
For Project Gutenberg those are typically page numbers for the pages from the original book.
hobnail is offline   Reply With Quote
Advert
Old 09-24-2021, 07:12 PM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by pinky62 View Post
what is Regex mode?
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.

Click image for larger version

Name:	regex.jpg
Views:	219
Size:	89.6 KB
ID:	189393

Last edited by BetterRed; 09-25-2021 at 04:55 AM. Reason: oversize image
Karellen is offline   Reply With Quote
Old 09-24-2021, 08:38 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
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)
theducks is offline   Reply With Quote
Old 09-25-2021, 04:58 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,642
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

@Karellen see #9 para 3 ==>> Guidelines

BR
BetterRed is online now   Reply With Quote
Old 09-25-2021, 05:51 AM   #9
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
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"?
Karellen is offline   Reply With Quote
Old 09-25-2021, 10:08 AM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Karellen View Post
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"?
Just use the resize option on the snipping tool (maintain aspect)
Each attachment has a file size listed next to its type in the Attachment tool
theducks is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:41 AM.


MobileRead.com is a privately owned, operated and funded community.