PHP strip_tags() May 22, 2012 Pramod T P It strips HTML and PHP tags from a string Example <?php echo strip_tags(“<div><p>phpcode</p></div>”); ?> Output phpcode