Thread: epub editing
View Single Post
Old 01-10-2022, 08:52 AM   #13
lonly
Member
lonly began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Nov 2012
Location: Bellow the Sky
Device: Laptop
words

thank you Alls for your previous help

now i want regex code for searching some chapter headings and replacing them to h1 format

all headings start with this word "chapter" after that word there are different words so kindly help me to find and replace all these in h1 format
what regex code exactly will be find that word "chapter"

example:
Chapter One: introduction
Chapter Two: what is learning
Chapter Three: how to start
etc

2. when i generate new page TOC inline i have to add every time some extra css code like text decoration underline and line height
is that possible i can save my TOC css code in calibre editor setting and every time when i generate toc inline page that setting auto add in css ?
lonly is offline   Reply With Quote