Sure, create a regex that matches from the opening <p to the closing </p>. Then count the number of quotes in it, if the number does not match, replace the paragraph with an new paragraph that contains some prominent marker added to the text, like say "FIXME"
Then just search the book for all occurrences of FIXME.
|