Regular Expressions 101

Community Patterns

NANP Modern Plan US Telephone / Phone number

1

Regular Expression
Python

r"
[2-9]([0-8])(?!\1)\d-?[2-9](?!1(?=1))\d\d-?\d{4}
"
gm

Description

Loading markdown...
Submitted by makinhey - 4 months ago
(Last modified 4 months ago)