Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-03-12 16:05
Flavor·PCRE2 (PHP)

/
[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST]{1}([1-9]|[12][0-9]|3[01]|4[1-9]|[56][0-9]|7[01]|LMNPQRSTUV){2}[A-Z]{1}[0-9LMNPQRSTUV]{3}[A-Z]{1}
/
gm
Open regex in editor

Description

[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST]{1}([1-9]|[12][0-9]|3[01]|4[1-9]|[56][0-9]|7[01]|LMNPQRSTUV){2}[A-Z]{1}[0-9LMNPQRSTUV]{3}[A-Z]{1}

La regular expression riconosce i codici fiscali. Supporta omocodie ed effettua controllo ristretto sul giorno di nascita

Submitted by Zeta-am