RegEx does not recognize an hour format...?

Please can someone help me with this? I’m not expert with RegEx but I think the expression to recognize an hour is fine, however Is.Match activity does not recognize it (just for this case, other cases works properly…).

Hi,

Hope the following pattern helps you.

“^([0-1][0-9]|2[0-3])(:)([0-5][0-9])$”

Regards,

1 Like

I’m stupid…!! Thanks a lot, sometimes I need somebody to open my eyes… :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.