Title |
Test
Find
MS Project-like Duration Input Validation
|
Expression |
^(([0-9]{1})|([0-9]{1}[0-9]{1})|([1-3]{1}[0-6]{1}[0-5]{1}))d(([0-9]{1})|(1[0-9]{1})|([1-2]{1}[0-3]{1}))h(([0-9]{1})|([1-5]{1}[0-9]{1}))m$ |
Description |
Duration validation similar to MS Project (5d16h45m, etc). Does not allow more than 365 days, 23 hrs or 59 min. |
Matches |
365d23h59m | 90d18h45m | 05d19h45m |
Non-Matches |
366d23h45m | 90d24h5m | 90d6h60m |
Author |
Rating:
Not yet rated.
Matt Taggart
|
Source |
|
Your Rating |
|