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]*?(([0-2]?[0-9]?[0-9]\.){3}([0-2]?[0-9]?[0-9]))[\s\S]*?<\/value>
/
g
Input 1
1
New
<value>activemq:tcp://192.168.0.172:61616?transport.useInactivityMonitor=false</value> <value>192.168.0.172</value>
Extraction
<value>activemq:tcp://192.168.0.172:61616?transport.useInactivityMonitor=false</value> <value>192.168.0.172</value>