Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\+[7] \([^8]\d\d\) \d{3} - \d{2} - \d{2}$
/

Description

Номер телефона без "8" в первой позиции кода региона . +7 (926) 255 - 55 -55 можно, а +7 (826) 255 - 55 - 55 нельзя

Submitted by anonymous - 7 years ago