<?php
$_content = <<<HMX
<thumb style="display: none;"><img src="/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg"></thumb>
<div><div>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue" displaytext="sharethis"></span>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue" displaytext="email"></span>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue" displaytext="reddit"></span>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue #occupy" st_via="occupy" st_username="" displaytext="twitter"></span>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue" displaytext="plusone"></span>
<span st_url="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue" st_title="4 Blackwater Contractors Found Guilty In Iraq Massacre – A Verdict Long Overdue" displaytext="fblike"></span>
</div></div>
<a href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue"><img src="http://www.occuworld.org/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg?itok=Fxb98rUD" width="140" height="140"></a><p>Not simply individual guards should answer for this tragedy – but the leaders of private security companies and the governments that employ them must also be held to account.</p>
<div class="post_source_linkbar">
<a class="post_source_logo" href="http://www.occupy.com/rss"><img class="post_source_logo" src="http://www.occupy.com/sites/default/themes/occupyzen/logo.png"></a><img class="post_source_icon" title="Occupy.com" src="http://www.google.com/s2/favicons?domain=http%3A%2F%2Fwww.occupy.com%2Frss"><a class="post_source" target="_blank" href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%C3%A2%C2%80%C2%93-verdict-long-overdue">Source</a>
</div>
HMX;
//preg_match("#<span[^>]*st_url[^>]*><\/span>#i",$_content,$matches);
$count = 0;
do {
$_content = preg_replace("#<(?:span|div)[^>]*><\/(?:span|div)>#i",'',$_content,-1,$count);
} while ($count > 0);
//var_dump($matches);
echo $_content;
?>
<thumb style="display: none;"><img src="/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg"></thumb>
<div><div>
</div></div>
<a href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%E2%80%93-verdict-long-overdue"><img src="http://www.occuworld.org/wp-content/uploads/2014/10/be98dc71560ae864.jpg.jpg?itok=Fxb98rUD" width="140" height="140"></a><p>Not simply individual guards should answer for this tragedy – but the leaders of private security companies and the governments that employ them must also be held to account.</p>
<div class="post_source_linkbar">
<a class="post_source_logo" href="http://www.occupy.com/rss"><img class="post_source_logo" src="http://www.occupy.com/sites/default/themes/occupyzen/logo.png"></a><img class="post_source_icon" title="Occupy.com" src="http://www.google.com/s2/favicons?domain=http%3A%2F%2Fwww.occupy.com%2Frss"><a class="post_source" target="_blank" href="http://www.occupy.com/article/4-blackwater-contractors-found-guilty-iraq-massacre-%C3%A2%C2%80%C2%93-verdict-long-overdue">Source</a>
</div>