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
Latitude/longitude tester
Open Workspace
PCRE (Legacy)
Match
Created 2014-04-29 11:33
-4
Regular Expression
/
(?<latitude>
[
-
]
?
[
0
-
8
]
?
[
0
-
9
]
\.
\d
+
|
90
\.
0
+?
)(?<delimeter>
.
)(?<longitude>
[
-
]
?
1
[
0
-
7
]
[
0
-
9
]
|
[
0
-
9
]
?
[
0
-
9
]
\.
\d
+
|
180
\.
0
+?
)
/
Description
Tests the string if it does contain valid latitude and longitude parameters
Submitted by
Doro