Node.js examples for String:Strip
Strip script from String
String.prototype.stripScripts = function() { return this.replace(new RegExp('<script[^>]*>([\\S\\s]*?)<\/script>', 'img'), ''); };