Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
^[0-9]{10}$
/
g

Description

Iranian National Code aka Code Melli

Submitted by Saeed Tabrizi - 9 years ago