title: How to find all divs whose class starts with a string in BeautifulSoup?
body: <p>In BeautifulSoup, if I want to find all div's where whose class is span3, I'd just do:</p>
  
  <pre><code>result = soup.findAll("div",{"class":"span3"})
  </code></pre>
  
  <p>However, in my case, I want to find all div's whose class starts with span3, therefore, BeautifulSoup should find:</p>
  
  <pre><code>&lt;div id="span3 span49"&gt;
  &lt;div id="span3 span39"&gt;
  </code></pre>
  
  <p>And so on...</p>
  
  <p>How do I achieve what I want? I am familiar with regular expressions; however I do not know how to implement them to beautiful soup nor did I find any help by going through BeautifulSoup's documentation.</p>