I would like a JavaScript regular expression that will match time using the 24 hour clock, where the time is given with or without the colon.
For example, I would like to match time in the following formats:
080023:452345
but that would not match invalid times such as
34:685672