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
/
^(-\s+)(lat)(.*)(\n\s*)(long)
/
gm
Input 1
1
New
- lat: "-82.645672" long: '44.941747' title: "Item 1" - lat: "-82.645744" long: '44.940731' title: "Item 2" - lat: "-82.645744" long: '44.940731' title: "Item 3" - lat: "-82.646599" long: '44.941441' title: "Item 4"
Extraction
- lat: "-82.645672" long: '44.941747' title: "Item 1" - lat: "-82.645744" long: '44.940731' title: "Item 2" - lat: "-82.645744" long: '44.940731' title: "Item 3" - lat: "-82.646599" long: '44.941441' title: "Item 4"