View Single Post
Old 10-26-2012, 05:49 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
I would say post a lot of samples of what you want to fix, and the regex you currently are using.

I would probably use something along the lines of this, but unless we know specifics, the perfect regex cannot be built:

Code:
([“][^”<]+)</p> <p>([^”]+)
Replace with:

Code:
\1 \2
It might be a little more complex if you want to handle "dumb quotes", since it is tough to tell which is left or right, although I believe you would be going through these manually one by one, and not pulling a "Replace All".
Tex2002ans is offline   Reply With Quote