my date format is in dd-MMM-yy ie 12-Sep-20
the 1st letter of the month will always be capital. please help asap
Have a look here
Also parsing the string into a datetime and work with this is another option:
2 Likes
^(([0-9])|([0-2][0-9])|([3][0-1]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-\d{2}$
1 Like
great article.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.