title: Python regex find text in bullets& numbering list
body: <p>I'm trying to find text in bullet&amp; numbering using regex in python</p>
  
  <p>for example</p>
  
  <blockquote>
    <p>InDesign Docs provides a series of articles about using bullets and numbering to create outlines, multi-level lists, figure captions, and numbered steps.</p>
    
    <ol>
    <li>blah blah blah blah</li>
    <li>blah2 blah2 blah2</li>
    <li>blah3 blah3 blah3</li>
    </ol>
  </blockquote>
  
  <p>I want to grab the text after numbering &amp; bullet list </p>
  
  <p>for example</p>
  
  <blockquote>
    <p>blah blah blah blah<br>
    blah2 blah2 blah2<br>
    blah3 blah3 blah3</p>
  </blockquote>
  
  <p>This is the code I tried:</p>
  
  <pre><code>import re
  n= re.compile('\d\.\s+(.*)')
  test2= """ test my name is aaaaaa 1. blah blah blah 2. blah2 blah2 blah2 3. blah3 blah3 blah3 4. blah4 blah4 blah4"""
  print n.search(test2).group(0)
  </code></pre>