Title |
Test
Find
PESEL Number (Poland)
|
Expression |
\b[0-9]{2}([0][1-9]{1}|[1][0-2]{1})([0][1-9]{1}|[1][0-9]{1}|[2][0-9]{1}|[3][0-1]{1})\d{5} |
Description |
The PESEL number is an identification number given to every Polish citizen when they are born and registered in Poland. |
Matches |
11083197485 | 36110878229 | 00063172200 | 12110383138 |
Non-Matches |
1F083297485 | 36204578229 | AA06317220B | 12203383138 |
Author |
Rating:
Michael Fox
|
Source |
|
Your Rating |
|
Title: One little correcion
Name: Mariusz
Date: 5/6/2022 9:28:59 AM
Comment:
I am not an expert, but still there is one little bug, it won't work with PESEL's after 2000, so it should be:
\b[0-9]{2}([0,2,4,8][1-9]{1}|[1][0-2]{1})([0][1-9]{1}|[1,2][0-9]{1}|[3][0-1]{1})\d{5}
I've also shorten it a little with first digit of day of birth.
Title: One little correcion
Name: Mariusz
Date: 5/6/2022 9:28:39 AM
Comment:
I am not an expert, but still there is one little bug, it won't work with PESEL's after 2000, so it should be:
\b[0-9]{2}([0,2,4,8][1-9]{1}|[1][0-2]{1})([0][1-9]{1}|[1,2][0-9]{1}|[3][0-1]{1})\d{5}
I've also shorten it a little with first digit of day of birth.