PHP how to remove the html tags(<DIV></DIV>,<P></P>,<SPAN></SPAN>) from the string
<p>Am using the strip_tags() to remove the HTML tags from one content . but i wants to remove the html (<code>&lt;DIV&gt;&lt;/DIV&gt;,&lt;P&gt;&lt;/P&gt;,&lt;SPAN&gt;&lt;/SPAN&gt;</code>) tags apart from the <code>&lt;img&gt;</code> tag and <code>&lt;a&gt;</code> , i don't want to remove the <code>&lt;img &gt;&lt;a&gt;</code> tag from that . but need to remove other all html tags from that content how can i do help me.</p>

<p>thanks </p>
