Hi is there a way where Is Match can check if the date format is MMDDYYYY? Or any other way to check if the date format is MMDDYY?
you can use /d{2}-/d{2}-/d{4} if you use the format (DD-MM-YYYY). I think you can use this way for other types of dates too.
To make it secure
^(0?[1-9]|1[0-2])/(0?[1-9]|1\d|2\d|3[01])/(19|20)\d{2}$
This will check specifically
- Month range from 0-12
- Date Range from 0 - 31
- Year Range from 1900 - 2099
1 Like
Alright thanks thanks will try!
Ya Thanks will try!
1 Like
Nice TimK thannks it worked!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.