How to delete HTML text between html tags in PHP using DOM Parser
Using http://simplehtmldom.sourceforge.net/ I know this could extract the html text:

    <?php
    include('simple_html_dom.php');
    // Create DOM from URL
    echo file_get_html('http://www.google.com/')->plaintext; 
    
    ?>

But how to delete all the text? 
Please help .
How to delete HTML text between html tags in PHP using DOM Parser
===

Using http://simplehtmldom.sourceforge.net/ I know this could extract the html text:

    <?php
    include('simple_html_dom.php');
    // Create DOM from URL
    echo file_get_html('http://www.google.com/')->plaintext; 
    
    ?>

But how to delete all the text? 
Please help .