Javascript String stripHtml(input)

Description

Javascript String stripHtml(input)


String.prototype.stripHtml = function(input) {
    return input.replace(/<(?:.|\n)*?>/gm, '');
};



PreviousNext

Related