title: Use python regex to turn <ul> <li> and unbounded items into a list
body: <p>I want to take my text below, and assemble it into a list of objects as shown below. I know this can be done with regex somehow. Please assist.</p>
  
  <p>Starting html text:</p>
  
  <pre><code>peanut butter1
  &lt;ul id="ul0002" list-style="none"&gt;peanut butter2
      &lt;li id="ul0002-0001" num="0000"&gt;2.0 to 6.0 mg of 17&amp;#x3b2;-estradiol and&lt;/li&gt;
      &lt;li id="ul0002-0002" num="0000"&gt;0.020 mg of ethinylestradiol;&lt;/li&gt;
      &lt;br&gt;
      &lt;li id="ul0002-0003" num="0000"&gt;0.25 to 0.30 mg of drospirenone and&lt;/li&gt;peanut butter3
  &lt;/ul&gt;peanut butter4
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>list = [
      ['peanut butter1', 'no tag'],
      ['peanut butter2', 'ul'],
      ['2.0 to 6.0 mg of 17&amp;#x3b2;-estradiol and', 'li'],
      ['0.020 mg of ethinylestradiol;', 'li'],
      ['&lt;br&gt;', 'no tag'],
      ['0.25 to 0.30 mg of drospirenone and', 'li'],
      ['peanut butter3', 'no tag'],
      ['peanut butter4', 'no tag'],
  ]
  </code></pre>