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 07-27-2023, 05:52 PM   #1
JohnMLP
Junior Member
JohnMLP began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: none
Looking a way to find all chapter title with following format in edit book

what's the expression find all of this
[Episode 0] title1
[Episode 1] title2
[Episode 2] title3
[Episode 3] title4

so I can replace all of them with this
<h1 classs="calibre1">\1<h/1>
JohnMLP is offline   Reply With Quote
Old 07-27-2023, 06:58 PM   #2
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,576
Karma: 58055868
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 JohnMLP View Post
what's the expression find all of this
[Episode 0] title1
[Episode 1] title2
[Episode 2] title3
[Episode 3] title4

so I can replace all of them with this
<h1 classs="calibre1">\1<h/1>
(\[Episode \d+\]\s.+?)
Assumes you want the [ ] included, exactly like shown

fix your classs and closing tag or it won't work

Last edited by theducks; 07-28-2023 at 01:27 PM. Reason: Removed extra space in search
theducks is offline   Reply With Quote
Advert
Old 07-28-2023, 07:17 AM   #3
Quoth
Reading till the spring
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,717
Karma: 96948653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
This thread is for Sigil, but some good ideas will work in Calibre Editor and of course you can freely also install Sigil (best to Save Calibre file to Disk for Sigil and re-import via delete and add format in Calibre Metadata Editor View).
https://www.mobileread.com/forums/sh...d.php?t=355207
Not just applicable to invisible Chapter breaks or unnamed ones (like in Discworld or Dune).
Quoth is offline   Reply With Quote
Old 07-28-2023, 07:19 AM   #4
Quoth
Reading till the spring
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,717
Karma: 96948653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by JohnMLP View Post
<h1 classs="calibre1">\1<h/1>
Probably you mean </h1>
Quoth is offline   Reply With Quote
Old 07-28-2023, 01:09 PM   #5
JohnMLP
Junior Member
JohnMLP began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: none
it gives me an error saying no match were found
JohnMLP is offline   Reply With Quote
Advert
Old 07-28-2023, 01:25 PM   #6
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,576
Karma: 58055868
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 JohnMLP View Post
it gives me an error saying no match were found
IT?
Who are you replying to? (Normally use the Quote button on the message so we know it applies to that message)
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit entire book for repeated title with incremental numbers pinky62 Editor 9 09-25-2021 11:08 AM
Edit Book: Handling of 'umlaut' in <title>Wilde Schw�ne</title> chaot Editor 3 04-26-2016 01:34 PM
Does Find in Edit Book work in styles? Inferno Editor 4 08-01-2014 01:21 PM
How to find which book do not have a mobi format onedot3 Calibre 3 01-10-2011 01:26 PM
PDF, MacOS: Edit book title? Juggle4Evr Sony Reader 10 02-04-2009 03:32 PM


All times are GMT -4. The time now is 12:37 PM.


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