title: javascript validation for input time in format hh:mm a
body: <p>I want to make user enter time in format "hh:mma" or "hh:mm a". I want to leave it to user the choice to enter space between mm &amp; a. 
  What can be the regular expression for this ?</p>