Regular Expressions 101

Library entries

address

Vote

0

Regular Expression
pcre

/
\b((?<street>(\p{L}[ ]?[-.]*)+ [0-9]{1,3}([ ]?[A-Za-z])?))\b|\b((?<zipcode>([A-Z-]+)?[0-9]+)[, ](?<city>(\p{L}[- ]?)+))\b
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago