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
@
(?<=</figure>).*?(?=<figcaption>)
@
gs
Input 1
<p></p><figure class="image"><img title="Screenshot 2014-08-26 16.34.12.png" alt="Screenshot 2014-08-26 16.34.12.png" src="/image/Screenshot%202014-08-26%2016.34.12.png" class="image-style-none" typeof="foaf:Image"></figure><p></p> <p>Â </p> <p></p><figcaption>Screenshot 2014-08-26 16.34.12.png</figcaption><p></p> <p> </p> <p> </p> <p></p>
Substitution
<p></p><figure class="image"><img title="Screenshot 2014-08-26 16.34.12.png" alt="Screenshot 2014-08-26 16.34.12.png" src="/image/Screenshot%202014-08-26%2016.34.12.png" class="image-style-none" typeof="foaf:Image"></figure><p></p> <p>Â </p> <p></p><figcaption>Screenshot 2014-08-26 16.34.12.png</figcaption><p></p> <p> </p> <p> </p> <p></p>