Can someone help me build a regular expression to validate time?
Valid values would be from 0:00 to 23:59.
When the time is less than 10:00 it should also su
The regex ^(2[0-3]|[01]d)([:][0-5]d)$ should match 00:00 to 23:59. Don't know C# and hence can't give you the relevant code.
^(2[0-3]|[01]d)([:][0-5]d)$
/RS