String.prototype.stripHTML = function(){ var regExp = /<(?:.|/s)*?>/g; return this.replace(regExp,""); }