Extract all dates from text (YYYY-MM-DD format)

Please log in or register to do it.

This tool extracts all dates in the YYYY-MM-DD format from your text. It provides flexible options so you can extract every date, extract only dates that match specified substrings, extract all except those containing specified substrings, or format the extracted dates using a custom format. Simply enter your text and select the extraction mode that suits your needs.

Extraction Modes:


Extracts every date in the YYYY-MM-DD format from the text.

Extracts only the dates that contain the substrings you specify. Enter a comma‑separated list (e.g., 2023, 1999).

Extracts every date except those that contain the substrings you specify. Enter a comma‑separated list (e.g., 2020).

Extracts each date and formats it using a custom format. Use {date} as a placeholder for the extracted date.

Examples:

Extract All Dates

Every date in the YYYY-MM-DD format is extracted from the text.

Before:
Meeting dates: 2023-03-26, 2020-01-15, and 1999-12-31.
After:
2023-03-26
2020-01-15
1999-12-31

Extract Only Dates Matching Specified Substrings

Only dates containing the specified substring (e.g., "2023") are extracted.

Before:
Important dates: 2023-03-26, 2020-01-15, and 1999-12-31.
After (specifying "2023"):
2023-03-26

Extract All Except Dates Containing Specified Substrings

Extracts every date except those containing the specified substring (e.g., "2020").

Before:
Important dates: 2023-03-26, 2020-01-15, and 1999-12-31.
After (excluding "2020"):
2023-03-26
1999-12-31

Extract Dates with Custom Format

Each extracted date is formatted using a custom format (e.g., wrapping in square brackets).

Before:
Deadline: 2023-03-26.
After (format "[{date}]"):
[2023-03-26]
Extract only fully capitalized words
Extract all URLs from text

Your email address will not be published. Required fields are marked *