Javascript String isHourFormat()
isHourFormat()
String.prototype.isHourFormat = function() { return this.match(/^\d{1,2}\:\d{1,2}$/) == null ? false : true; }