EasyRegex Logo
EasyRegex
New

Extract Year from Date in Excel

excel

Regular Expression

\/(\d{4})\b
Copy
Do you have Feedback?

Explanation

This regex pattern captures and extracts the year part from a date in the format dd/mm/yyyy. It looks for a forward slash followed by exactly four digits (representing the year) and followed by a word boundary.

excel

Example Usage

REGEXEXTRACT(A1, "\/(\d{4})\b")
Copy
Test the expression

Similar Regular Expressions