remove all the html tags from a string in php code example Example: remove html tags from string php <?php echo strip_tags("Hello <b>world!</b>");