title: Extract part of Text in HTML using Beautiful Soup
body: <p>I have HTML as : </p>
  
  <pre><code>&lt;span id="lbldiv" class="lbl" style="color:Blue;"&gt;
      Division : First; Grand Total: 3861; Grand Max Total: 4600
  &lt;/span&gt;
  </code></pre>
  
  <p>I can extract the text : <code>Division : First; Grand Total: 3861; Grand Max Total: 4600</code> by using the <code>get_text</code> on the span element.</p>
  
  <p>Is it possible to extract just the numbers - <code>3861</code> and <code>4600</code> from the text or get the characters(numbers) by skipping the alphabets using Beautiful Soup library in Python?</p>