View Single Post
Old 10-13-2020, 03:48 PM   #6
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,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by michaelbr View Post
Hi Tex2002ans, thanks so much for your detailed explanation, that's exactly what I'm trying to do,
Glad to see I guessed correctly.

Quote:
Originally Posted by michaelbr View Post
I used your solution Regex #2 (partially, searching for small letters at the end), but yours is much better, I'll use yours instead.
If you're looking for lowercase letters at the end, you could also use something like this:

Search: ([a-z])</p>\s+<p>
Replace: \1 <---- Make sure you put a space after.

Code:
<p>This is an example</p>
<p>sentence. But THIS LINE</p>
<p>won't match.</p>
but I think my Regexes are better. :P
Tex2002ans is offline   Reply With Quote