How to remove html tag from string .


<?php
$string = "<p><strong>How to remove html tag in string .</strong></p>";
$output = strip_tags($string);
echo $output;
/*Output*/
How to remove Html tag in string
?>

Output : J