Quote:
Originally Posted by Ripplinger
Is there a way to find the reverse situation, to find paragraphs where there is an ending quote but was no starting quote at the beginning of the paragraph?
|
think that's a bit more difficult. if there's no space between the <p> tags and the text you could use something like this
Code:
<p[^>]*>(?<!")(\w.+?")</p>
which finds a <p> followed by an alphanumeric character that is not preceded by a quotation mark. not the best solution, but for simple and consistent texts it could work.