Thread
:
Dealing with fragmented paragraphs after a .docx import
View Single Post
02-09-2026, 04:16 PM
#
5
Karellen
Wizard
Posts: 1,768
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I would use...
Search -
(\w)</p> <p>(\w)
Replace -
\1 \2
Then you would need to run a second regex for the cases where punctuation precedes the </p> tag.
Karellen
View Public Profile
Visit Karellen's homepage!
Find More Posts by Karellen
Track Posts by Karellen via RSS