Javascript String hasNumbers()
hasNumbers()
String.prototype.hasNumbers = function() { var regex = /\d/g; return regex.test(this); };