Regular Expressions 101

Library entries

Address capture

Vote

1

Regular Expression
python

"
(?P<street>\d+\s.*?(?:,\s*\w*\s*\d+)*),\s*(?P<city>.*?),\s*(?P<state>[A-Za-z]+)\s*(?P<zip>\d+)?,*
"
gm

Description

Loading markdown...
Submitted by anonymous - a year ago