View Single Post
Old 06-17-2022, 10:12 PM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Sarmat89 View Post
Use
(?<=\p{Ll})</p>\s*<p class="...">
That doesn't work for me and I can't work put what the look behind is supposed to do.

I use:

Code:
([\w,—])</p>\s*<p\s*[^>]*?>([\w])
with the replace of:

Code:
\1 \2
It doesn't catch everything (it probably should have the other types of dash) but it catches most.
davidfor is offline   Reply With Quote