Strip tags from String - Node.js String

Node.js examples for String:Strip

Description

Strip tags from String

Demo Code

String.prototype.stripTags = function() {
    return (this || '').replace(/<[^>]+>/g, '');
};

Related Tutorials