I have a series of '
cleanups' I use
Note: This is copied from Sigils saved search, ignore leading numbers an the line with Name= (describes what it does) and the escape before the \ (\\) should be a Single\
Code:
80\Name=Cleanup/Joins/Join to lower
80\Find="([[:alpha:],]\x201d*)</p>\\s*<p\\b[^>]*>([a-z\x201c])"
80\Replace=\\1 \\2
81\Name=Cleanup/Joins/Join to upper
81\Find="([[:alpha:],]\x201d*)</p>\\s*<p\\b[^>]*>([A-Z\x201c])"
81\Replace=\\1 \\2
87\Name=Cleanup/Joins/Honorifics
87\Find="(Mr|Mrs|Ms|Dr|Prof)\\.</p>\\s+<p class=\"calibre\\d+\">([A-Z])"
87\Replace=\\1. \\2
88\Name=Cleanup/Joins/de BR w/punct
88\Find="([[:punct:]])<br class=\"calibre4\" />\\s+(\"*[A-Za-z\x201c])"
88\Replace="\\1</p><p class=\"calibre4\">\\2"
* adjust the RED
Note: I kept it simple and replace the capture
(Wishlist PI: Import Sigil saved searches)