Here you can find the source of stripHtml()
? // Extension method stripHtml for string object String.prototype.stripHtml = function () { return this.replace(new RegExp(/<[^>]+>/g), ""); };
String.prototype.stripHtml = function() { var tmp = document.createElement("DIV"); tmp.innerHTML = this; return tmp.textContent || tmp.innerText || ""; };
String.prototype.stripHtml = function () { var _self = this.replace(/(<([^>]+)>)/ig, ''); return _self;
String.prototype.stripHtml = function() { return this.replace(/<[^>]+>/g, ""); }; console.assert("<p>Shoplifters of the World <em>Unite</em>!</p>".stripHtml() == "Shoplifters of the World Unite!"); console.assert("1 < 2".stripHtml() == "1 < 2");
String.prototype.stripHtml = function () { return this.replace(/<(?:.|\n)*?>/gm, ''); };
String.prototype.stripHtml = function () { "use strict"; var htmlRegex = /(<([^>]+)>)/ig; return this.replace(htmlRegex, ''); };
String.prototype.stripTags = function() return this.replace(/<\/?[^>]+>/gi, ''); };
String.prototype.stripTags = function () { return this.replace(/(<([^>]+)>)/ig, ""); };
String.prototype.stripTags = function(){ var entity = { quot: '"', lt: '<', gt: '>', nbsp: ' ' }; return function ( ) { return this.replace(/&([^&;]+);/g, ...
String.prototype.stripTags = function() { var div = document.createElement("div"); div.innerHTML = this.br2nl(); return div.textContent || div.innerText || ""; };