Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:\+98|0)(9\d{9})$
/
gm

Description

Iran Phone Number In Short Mode

Submitted by Amin Basiri (amin.bsr99@gmail.com) - 5 months ago