Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(\w+(\-\w+)?)(\s)([A-Z]\.\s)*(\w+)(\s\w+)?\,((\(|1\-|\(1\-)*\d{3}(\)(\s)?|-|\s|\)\-)?\d{3}\-*\s?\d{4})\,(\w+)(\-\w+\-\w+)?(\s\w+$)?
"
gm

Description

no description available

Submitted by anonymous - 6 years ago