Here you can find the source of removeNonChars()
String.prototype.removeNonChars = function(){ return this.replace(/[^a-zA-Z0-9 -]/gi, ""); };
String.prototype.removeFileExtension = function() var re = /(.*)\.[^.]+$/; return re.test(this);
String.prototype.removeFromList=function(c){ var arr=this.split(c), i=1; for(;i<arguments.length;i++) delete arr[arguments[i]-1]; return arr.filter(function(v){return v!==undefined}).join(c);
String.prototype.removeMascara = function () { if (this.valueOf()) return this.valueOf().replace(/\.|\/|-|_/g, ""); return "";
String.prototype.removeMultipleWhitespaces = function () { return this.replace(/\s\s+/g, ' '); };
String.prototype.removeNonAlphabeticCharacters = function() { var result = this.replace(/[^a-zA-Z ]/g, ''); return result;
String.prototype.removeNonWords = function () { return this.replace(/[^\w|\s]/g, '');
String.prototype.removeQoutes = function() { return this.replace(/["']/g, ""); };
String.prototype.removeSpace=function(){ return this.replace(/\s/g, "");
String.prototype.removeSpaces = function() { return this.replace(/\s+/g, ''); }; String.prototype.hashCode = function(){ var hash = 0; if (this.length == 0) return hash; for (var i = 0; i < this.length; i++) { char = this.charCodeAt(i); hash = ((hash<<5)-hash)+char; ...