console.log(strip_html_tags('<p><strong><em>PHP Exercises</em></strong></p>'));

function strip_html_tags(str)
{
    var text = str.includes("PHP Exercises");
    if(text)
    {
        var temp = text;
    }
    return temp;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: