Lesson 11 of 17 · +120 xp

Capture Group

(...) captures.

Explained simply

Your task

Pattern to capture a 4-digit year: (\d{4})

group.regex
← Back