I need to make strict validation of input for a school project, time in format HH:MM am/pm. So far i\'ve got this RegEx expression:
(([01]?[0-9]):([0-5][0-9
String regex = "([01]?[0-9]|2[0-3]):[0-5][0-9]";
This will work for the 24 hours validation