View Single Post
Old 06-17-2022, 10:22 PM   #7
jordy1955
Junior Member
jordy1955 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2021
Device: Kindle
Quote:
Originally Posted by davidfor View Post
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.

This works, BUT, it also returns the 1st char of the following word - see image

How then do I exclude the unwanted chars in the replace field? i've got no idea what the \1 \2 means
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-06-18 115204.jpg
Views:	114
Size:	38.6 KB
ID:	194432  

Last edited by jordy1955; 06-17-2022 at 10:24 PM.
jordy1955 is offline   Reply With Quote