Dates & Timesflags: g
European Date Format (DD/MM/YYYY)
Match European-style dates in DD/MM/YYYY format with valid day (01–31) and month (01–12) ranges.
Try it in RegexPro →Available in
Pattern
regexengine-agnostic
(?:0[1-9]|[12]\d|3[01])\/(?:0[1-9]|1[0-2])\/\d{4} (flags: g)Raw source: (?:0[1-9]|[12]\d|3[01])\/(?:0[1-9]|1[0-2])\/\d{4}
How it works
Day alternation covers 01–31, month covers 01–12, year is any 4-digit number. Slashes are literal. Does not detect impossible combinations like 31/02/2024.
Examples
Input
15/01/2024Matches
15/01/2024
Input
31/12/1999Matches
31/12/1999
Input
32/01/2024No match
—Common use cases
- •EU form date validation
- •Logistics document parsing
- •Legacy date format conversion
- •Internationalisation tooling
Related patterns
US Date Format (MM/DD/YYYY)
Dates & TimesMatch US-style dates in MM/DD/YYYY format with range validation.
ISO 8601 Date
Dates & TimesMatch dates in ISO 8601 format: YYYY-MM-DD with valid month (01–12) and day (01–31) ranges.
24-Hour Time
Dates & TimesMatch 24-hour time formats HH:MM or HH:MM:SS with valid hour (00–23) and minute/second (00–59) ranges.
ISO 8601 Date-Time
Dates & TimesMatch full ISO 8601 date-times with timezone offset or Z suffix (e.g. 2024-01-15T14:30:00Z).