Extract Dates
Find every date in a block of text. Recognizes ISO, US, European, and written formats.
0 dates found
About Extract Dates
This tool scans text for date patterns and returns each one as a list. It recognizes ISO format (2024-01-15), slash- and dot-separated dates (01/15/2024, 15.01.2024), and English-language month references ('January 15, 2024' or 'Jan 15 2024'). Each match is also parsed and shown in canonical ISO form so you can spot ambiguities.
When to use it
- Pulling dates out of log files or chat transcripts
- Identifying every date mentioned in an article
- Cleaning data where dates are mixed with prose
- Auditing a document for date-shaped PII
How it works
Multiple regex patterns are applied in parallel to catch ISO, slash, dot, and written-month forms. Each match is parsed via the Date constructor. Output is one match per line, with the canonical ISO form alongside the original text.
Examples
The contract runs 2024-01-15 to Mar 1, 2025.
2024-01-15 (2024-01-15) Mar 1, 2025 (2025-03-01)
Frequently asked questions
- Which formats are recognized?
- ISO (2024-01-15), slash (01/15/2024 or 15/01/2024 — US/EU ambiguity flagged), dot (15.01.2024), and English month + day + year ('January 15, 2024').
- How are US-vs-EU ambiguities handled?
- Slash dates where both day and month are ≤ 12 are flagged as ambiguous and parsed twice (US then EU). Other formats are parsed normally.