Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
<div class="fluid-width-video-wrapper".*><iframe(.*?)\(?:src="(http?:\/\/)|(https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch?.*?v=))([\w\-]{11,12}).*<\/iframe><\/div>
/
ixU

Description

no description available

Submitted by Erica Franz - 9 years ago