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
/
"value"\s:\s(\d+)\s},
/
g
Input 1
1
New
string(540) "{ "destination_addresses" : [ "Derech Ze'ev Jabotinsky 40-46, Ramat Gan, Israel" ], "origin_addresses" : [ "Ha-Gefen St 2-14, Ramat Gan, Israel" ], "rows" : [ { "elements" : [ { "distance" : { "text" : "2.0 km", "value" : 1994 }, "duration" : { "text" : "6 mins", "value" : 382 }, "status" : "OK" } ] } ], "status" : "OK" } "