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
/
<img src="images\/nophoto_medium\.gif" alt="([^"]*)"
/
gi
Input 1
<div id="photoDetails"><p>Note: Some members may choose not to include their photo in the ward directory.</p><form id="photoForm" onsubmit="return false;" action=""><div id="batchphoto0" class="batchphoto"><div class="photoElement"><table height="100%" width="100%"><tbody><tr><td height="100%" width="100%" align="center" valign="bottom"><img src="images/nophoto_medium.gif" alt="Adams, Scott & Sunny Photo"></td></tr></tbody></table></div><div class="photoDirectoryName"><b>Adams, Scott & Sunny</b> <div></div></div><div class="photoDirectoryPhone">801-420-5160</div></div><div id="batchphoto1" class="batchphoto"><div class="photoElement"><table height="100%" width="100%"><tbody><tr><td height="100%" width="100%" align="center" valign="bottom"><a id="householdPhoto1" class="photoDirectory" href="#"><img src="/bcs/content?token=7g30OcAmhQ-ld0YJapLNGP7PPGNrIYk%3di8bEHVpKioMZcCmlBIFuabZOIKF9JIOR6BA4HWwYKNCyi1HK4g7otPTSLWI0SV87jKm7lRcobsfgpDnVHl3_EV1z3Ysnj30EZIHQ7EbIxXE6zzY-d_9x5W43mrnJ
Substitution
\1
<div id="photoDetails"><p>Note: Some members may choose not to include their photo in the ward directory.</p><form id="photoForm" onsubmit="return false;" action=""><div id="batchphoto0" class="batchphoto"><div class="photoElement"><table height="100%" width="100%"><tbody><tr><td height="100%" width="100%" align="center" valign="bottom"><img src="images/nophoto_medium.gif" alt="Adams, Scott & Sunny Photo"></td></tr></tbody></table></div><div class="photoDirectoryName"><b>Adams, Scott & Sunny</b> <div></div></div><div class="photoDirectoryPhone">801-420-5160</div></div><div id="batchphoto1" class="batchphoto"><div class="photoElement"><table height="100%" width="100%"><tbody><tr><td height="100%" width="100%" align="center" valign="bottom"><a id="householdPhoto1" class="photoDirectory" href="#"><img src="/bcs/content?token=7g30OcAmhQ-ld0YJapLNGP7PPGNrIYk%3di8bEHVpKioMZcCmlBIFuabZOIKF9JIOR6BA4HWwYKNCyi1HK4g7otPTSLWI0SV87jKm7lRcobsfgpDnVHl3_EV1z3Ysnj30EZIHQ7EbIxXE6zzY-d_9x5W43mrnJ