ISO 8601 four-digit year (YYYY)

A positive year representation, where 0000 is not allowed

String
matches: ^(?!0000)\d{4}$
For example:
  • "0001"
  • "1965"
  • "2024"