Title |
Test
Find
Finnish social security number
|
Expression |
^[0-9]{6}-(?:[0-9]+){1,3}[0-9A-Za-z]$ |
Description |
This one is for Finnish social security numbers. I tested it with my own Java Application by checking several real world SSNs |
Matches |
010236-987B, 241200-6667 |
Non-Matches |
010236987B, 2412000-6667,241200-A666 |
Author |
Rating:
Jere Sumell
|
Source |
Sumell |
Your Rating |
|
Title: Try this
Name: Piros
Date: 3/17/2021 10:16:15 AM
Comment:
/^[0-9]{6}[-,A,+]{1}(?:[0-9]+){1,3}[0-9A-Za-z]$/;
Title: Does not work
Name: Dosentti
Date: 6/19/2018 6:42:11 AM
Comment:
Does not work to social security numbers of people who have born after the year 2000. This is because dash should be replaced with capital A.