i'am trying to remove a tag by class name class="btn" from below $str variable using php code
$str = '<div class="btn-holder">
<a class="btn" href="=#">
<span>Log In</span>
</a>
<p><strong>
<em>
<a id="reset" href="#">Reset My Password</a>
</em>
</strong>
</p>
</div>';