Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^((\+7|\+8|7|8)*(9)+([0-9]){9})$
/
gm

Description

russian mobile phone with or without +7/7/8/+8 and started with 9 after.

Submitted by hprnv - 4 years ago (Last modified 4 years ago)