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
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







