Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\d{6}[-+ABCDEFYXWVU]\d{3}[\dA-Z]
/
g

Description

Finnish SSN that supports the new intermediate characters that were added on 1.1.2023.

Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)

Submitted by mpeltola - 2 years ago