Regular Expressions 101

russian mobile phone

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

/
^((\+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