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.*)width="(\d+)" height="(\d+)"(.*style=")(.*)" \/(>)
/
Input 1
<img alt="" width="146" height="109" src="http://url.to/src.jpg" style="float:left" />
Extraction
<img alt="" width="146" height="109" src="http://url.to/src.jpg" style="float:left" />