Thread
:
Help for a regex
View Single Post
10-14-2019, 08:36 AM
#
2
Brett Merkey
Not Quite Dead
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
No, there is no special regex in Calibre that does that. but what you want seems easy enough:
Quote:
Find:
(<h(\d).*?>.*?</h\2>)
Replace:
<!-- title -->\n\1
It tests fine.
Brett Merkey
View Public Profile
Find More Posts by Brett Merkey
Track Posts by Brett Merkey via RSS