Quote:
Originally Posted by Tex2002ans
From what I can tell, I think you're trying to find paragraphs without a closing punctuation mark. (aka, paragraphs that end in a letter.)
Like if you're taking an OCRed book, and trying to combine broken lines together:
Code:
<p>This is a copied and</p>
<p>pasted paragraph from the</p>
<p>book.</p>
<p>And true paragraph 2.</p>
After:
Code:
<p>This is a copied and pasted paragraph from the book.</p>
<p>And true paragraph 2.</p>
|
Hi Tex2002ans, thanks so much for your detailed explanation, that's exactly what I'm trying to do, I used your solution Regex #2 (partially, searching for small letters at the end), but yours is much better, I'll use yours instead. Again thanks so much for sharing.