title: python 2.7 grab IPs from Source code
body: <p>I've already googled my question but i havent any solution at the moment. 
  I want to grab the <code>IPs</code> and ports from this html content:
  (I've got this content as a String)</p>
  
  <p>Ive read about <code>beautiful soup</code> and <code>regexp</code> - ive tried both but i cant get a solution - and <code>beautiful soup</code> is very slow.
  sry for my bad english.</p>
  
  <pre><code>&lt;tr class="proxyListOdd"&gt;
  &lt;td&gt;&lt;a href="http://whois.sc/81.196.122.86" target="_blank"&gt;81.196.122.86&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;8080&lt;/td&gt;
  &lt;td&gt;Nein&lt;/td&gt;
  &lt;td&gt;3&lt;/td&gt;
  &lt;td class="proxyList_Ping" &gt;0.44 Sek.&lt;/td&gt;
  &lt;td&gt;&lt;img height="24px" width="24px" alt="Rumänien" title="Rumänien" src="http://static2.proxy-listen.de/0_proxy/images/flags/ro.png"&gt;&lt;/td&gt;
  &lt;td class="proxyList_Online arrowUp"&gt;97% &lt;/td&gt;
  &lt;td&gt;22:06&lt;/td&gt;
  &lt;td&gt;&lt;input style="align: center" title="Proxyserver übernehmen" type="image" src="/0_proxy/images/ProxyswitcherButtonOn.png" onclick="de.proxy_listen.setProxy({'U2a66iQA': '70ODEuMTk2LjEyMi44Ng==', 'uhSRlFfS': '96ODA4MA==', 'h0zMxtxH':'21MQ=='}, 'https://addons.mozilla.org/addon/proxy-listen-de_proxyswitcher/');"&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href='proxy:name=Proxy-listen.de&amp;host=81.196.122.86&amp;port=8080&amp;foxyProxyMode=this&amp;confirmation=popup' title="Proxyserver in FoxyProxy übernehmen."&gt;&lt;img height="24px" width="22px" alt="FoxyProxy" src="http://static.proxy-listen.de/0_proxy/images/foxyproxy.png"&gt;&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="proxyListEven"&gt;
  &lt;td&gt;&lt;a href="http://whois.sc/94.126.17.68" target="_blank"&gt;94.126.17.68&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;3128&lt;/td&gt;
  &lt;td&gt;Nein&lt;/td&gt;
  &lt;td&gt;3&lt;/td&gt;
  &lt;td class="proxyList_Ping" &gt;0.95 Sek.&lt;/td&gt;
  &lt;td&gt;&lt;img height="24px" width="24px" alt="Schweiz" title="Schweiz" src="http://static2.proxy-listen.de/0_proxy/images/flags/ch.png"&gt;&lt;/td&gt;
  &lt;td class="proxyList_Online arrowUp"&gt;86% &lt;/td&gt;
  &lt;td&gt;22:06&lt;/td&gt;
  &lt;td&gt;&lt;input style="align: center" title="Proxyserver übernehmen" type="image" src="/0_proxy/images/ProxyswitcherButtonOn.png" onclick="de.proxy_listen.setProxy({'U2a66iQA': '65OTQuMTI2LjE3LjY4', 'uhSRlFfS': '78MzEyOA==', 'h0zMxtxH':'52MQ=='}, 'https://addons.mozilla.org/addon/proxy-listen-de_proxyswitcher/');"&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href='proxy:name=Proxy-listen.de&amp;host=94.126.17.68&amp;port=3128&amp;foxyProxyMode=this&amp;confirmation=popup' title="Proxyserver in FoxyProxy übernehmen."&gt;&lt;img height="24px" width="22px" alt="FoxyProxy" src="http://static.proxy-listen.de/0_proxy/images/foxyproxy.png"&gt;&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="proxyListOdd"&gt;
  &lt;td&gt;&lt;a href="http://whois.sc/89.105.247.13" target="_blank"&gt;89.105.247.13&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;3128&lt;/td&gt;
  &lt;td&gt;Nein&lt;/td&gt;
  </code></pre>
  
  <p>hope you can help me ;)
  mfg henry</p>