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