Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(8|\+7)\d{10}$
"
gm

Description

phone number without spaces or hyphens +7YYYXXXXXXX

Submitted by vscoder - 9 years ago