Javascript String removelinks()

Description

Javascript String removelinks()


String.prototype.removelinks = function() {
 var regexp = /<a [^>]*>(.*)<\/a>/gi;
 return this.replace(regexp, '$1');
};



PreviousNext

Related