Forum Moderators: open
"/^(1[012]|[1-9])[aA|pP][mM]\s-\s(1[012]|[1-9])[aA|pP][mM]$/i"that allows a 12 hour time duration (start - end) in the format "hh(am/pm) - hh(am/pm)". ex: "8am - 12pm".
"/^(1[012]|[1-9])[\s|][aA|pP][mM](\s-\s(1[012]|[1-9])[\s|][aA|pP][mM])?$/i"
"/^(1[012]?|[2-9])\s?[ap]m\s?(-\s?(1[012]?|[2-9])\s?[ap]m)?$/i"