Regular Expressions 101

Community Patterns

regex for phone (US & CAN)

0

Regular Expression
Python

r"
1?\W*([2-9][0-8][0-9])\W*([2-9][0-9]{2})\W*([0-9]{4})
"

Description

no description available

Submitted by anonymous - 3 years ago