View Single Post
Old 04-27-2018, 01:57 AM   #1
jvorzimmer
Guru
jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.jvorzimmer can program the VCR without an owner's manual.
 
jvorzimmer's Avatar
 
Posts: 54
Karma: 186734
Join Date: Jun 2013
Device: Samsung Galaxy Tab A9+
Regex Search in Calibre Question

I'm trying to create a regex search in Calibre that finds unmatched smart quotes.

With this search I can find open quotes in a paragraph without a matching close quote:

“[^”]+\</p\>

I also have tried to create corollary search that finds close quotes without an open quote. But this search will only match a line if the quote is missing at the beginning of a paragraph, even if it's further on in the paragraph:

\<p.*\"\>[^“].*”.*\<\/p\>

What am I doing wrong here? Any help would be appreciated.

Thanks,
Jeff
jvorzimmer is offline   Reply With Quote