Javascript String ScrubHtml()

Description

Javascript String ScrubHtml()


String.prototype.ScrubHtml = function(){
  return this.replace(/(<([^>]+)>)/ig,"");
}



PreviousNext

Related