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