Time validation in text field

Hi All

 In an editable grid we used a text field as a time enter field . Currently we want to do validations as follow in the text field 9:02 AM in the editable how to achieve this scenario.

  Discussion posts and replies are publicly visible