Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)(?:,[a-zA-Z ]*)?$
/
gm
Input 1
New
what should match -43.48394, 87.394886 -43.44884, 88.344774, home -43.87778, 88.987566, what should not match -43.89987, 89.345434 home -43.44884, 88.344774, home, restaurant
Extraction
what should match -43.48394, 87.394886 -43.44884, 88.344774, home -43.87778, 88.987566, what should not match -43.89987, 89.345434 home -43.44884, 88.344774, home, restaurant