Regular validation 24-hour time format

Time:2019-12-10

I don’t know if I can search on the Internet. Let’s write it by myself
Support validation8:00、08:00、23:59

(^0?[1-9])|(^1[0-9])|(^2[0-3])):([0-5][0-9])$