var match = value.match(/^(\d{1,2})\D?(\d{1,2})?$/)
var match = value.match(/\d{1,2}/g) || []; var match = value.split(":") || [];