Regular Expressions 101

Community Patterns

Lab3 RegEx

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 - 5 years ago