Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

Regex Search in Calibre Question

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

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images