← Templates

Time (24-hour)

Category: dates

/^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/

HH:MM or HH:MM:SS

Open in sandbox →