Thread: Regex examples
View Single Post
Old 03-06-2013, 11:10 AM   #211
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by ReaderRabbit View Post
Is there a command to fix this type of error?

<p class="calibre1">“That makes her sound like an ungrateful victim,”</p>

<p class="calibre1">Peggy said.</p>
This modified version of Join Paragraph should work:

Find:
([[:alpha:],”*])</p>\s*<p\b[^>]*>
Replace: \1

Note that there needs to be a space after \1.
Doitsu is offline   Reply With Quote