Search for every blank line in document, and pop first line after that?
<p>What I am trying to do is go through a document line by line, find each blank line, keep traversing until I hit the next line of text, and pop that line.
So for example, what I want to do is this:</p>

<blockquote>
  <p>Paragraph 1<br>
  This is a line.<br>
  This is another line.</p>
  
  <p>Here is a line after a space, which I want to pop!<br>
  Here is the next line, which I want to keep.                </p>
  
  <p>Here is another line I want to pop. </p>
</blockquote>

<p>So it will go through each number of blank lines until it hits the next sentence, and pops that sentence only, then continues on. I am thinking I should use re.split('\n') , but I am not sure.
I am sorry I have no code to post but I really don't know where to start
any help would be much appreciated, thank you!
this is part of a larger code, which i've worked days and days on and have figured out up to this point, so I have done the bulk of the word.</p>
