Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
get zip code
Open Workspace
JavaScript
Match
Created 2021-06-24 19:22
1
Regular Expression
/
[
a
-
zA
-
Z
]
+
\s\d
[
0
-
9
]
+
/
g
Description
this just matches the city credential followed by zipcode e.g:
FL 18117
Submitted by
Gabriel Micah