I'm trying to edit some xhtml on Sigil.
With the command
< p>([a-z])
I'm able to find all paragraphs that begin with lower case. That tells me that they shouldn't be separate from the previous one. It's just a conversion issue.
What should I do to delete both the < p> from that paragraph and the < /p> from the previous one in order to join the two blocks of text into one single paragraph?
It looks something like this:
< p> ... that is why relationships< /p>
< p> are not what they should be.
And it should be:
< p> that is why relationships are not what they should be.< /p>
I'm not too sure about Sigil, but the following regex should be able to do that:
First find:
The replace it with:
What this means:
\s* : Any amount of whitespace
$1 : The group () youll keep after replacing