Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Youtube iframe regex last
Open Workspace
PCRE (Legacy)
Substitution
Created 2016-07-15 02:59
1
Regular Expression
/
<iframe
.
*?
(
width="
[
0
-
9
]
*
"
)?
\.
?
(
height="
[
0
-
9
]
*
"
)?
\.
*?
src="
.
*?
youtube
\.
com
\/
embed
\/
(
\w
*
\-
?
\w
*
)
.
*?
(
width="
[
0
-
9
]
*
"
)?
\.
?
(
height="
[
0
-
9
]
*
"
)?
\.
*?
><
\/
iframe>
/
gim
Description
Youtube iframe regex last
Submitted by
onigetoc