Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(8|[\+7]){,2}(\-|\s)?(\()?([0-9]{3})(\))?(\-|\s)?[0-9]{2}(\-|\s)?[0-9]{2}
"
gm

Description

Test

Submitted by anonymous - 2 years ago