^(1[012]|[1-9]):[0-5][0-9](\s)?(?i)(am|pm)$
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)