title_body: Join broken paragraphs Regex Sigil I'm trying to edit some xhtml on Sigil.
  
  With the command "&lt;p&gt;([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 &lt; p> from that paragraph and the &lt;/p&gt; from the previous one in order to join the two blocks of text into one single paragraph??
  
  It looks something like this:
  
  &lt;p&gt; ... that is why relationships&lt;/p&gt;
  
  &lt;p&gt; are not what they should be.
  
  
  And it should be:
  
  &lt;p&gt; that is why relationships are not what they should be.&lt;/p&gt;
upvoted_answer: The following regex should cover most cases.
  
  Find:
  
  ([[:lower:]],*;*:*)&lt;/p&gt;\s+&lt;p[^&gt;]*&gt;\s*([[:lower:]])
  
  
  Replace:
  
  \1 \2