Javascript String transform()
transform()
String.prototype.transform = function() { return this.trim().toLowerCase().replace(/[\s]+/g, '-').replace(/(\?|\!|\,)/, ''); }