<?php var_dump(preg_match('^[01]?[0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?$','10:59'));
You have javascript disabled. You will not be able to edit any code.