Thread
:
Regex search & replace help
View Single Post
01-09-2023, 01:19 AM
#
2
ownedbycats
Custom User Title
Posts: 11,047
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If I enable
s
(dot matches newline), this works:
https://regex101.com/r/OnUcMr/1
Code:
.*(<p><span class='label'>Rating<\/span>: <div class='metadata' id='rating'>(.*?)<\/div><p>).*
I don't think I can do that in Calibre though.
Last edited by ownedbycats; 01-09-2023 at
01:24 AM
. Reason: typo in bbcode
ownedbycats
View Public Profile
Find More Posts by ownedbycats
Track Posts by ownedbycats via RSS