var time = '8:23'; time = time.split(':'); time = time[0] + ':' + '<span>' + time[1] + '</span>'; alert(time);
var time = '10:00 12:30 17:05 2:54'; time = time.replace(/(\d+):(\d+)/g, '$1:<span>$2</span>'); alert(time);