title: Taking specific text from a div in python3
body: <p>here is an example of the html I am trying to extract from:</p>
  <pre><code>    &lt;div class=&quot;small subtle link&quot;&gt;                      
                      &lt;a href=&quot;https://example.com&quot; target=&amp;quot;_blank&amp;quot;  nofollow &gt;Example&lt;/a&gt;
                  
  
                  
                       This text!
              &lt;/div&gt;
  </code></pre>
  <p>I want to grab &quot;This text!&quot; but I keep getting &quot;Example&quot; with it when I do this</p>
  <pre><code>                myText=soup.findAll('div',{'class':re.compile('small subtle link')})
          if myText: 
              extractedText=myText.text.strip()
  </code></pre>
  <p>How do I leave out the text that is in the a tag?</p>