[Solved] Regex for this date format?


Split the task into 3 parts. First, a number in the range of 1-31 (tutorial), then a list of possible values for the month, and then two numbers.

\b([1-9]|[12][0-9]|3[01])-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2})\b

Regex101 Demo

3

solved Regex for this date format?