Regular Expressions 101

Library entries

Get video parameters from many video services at once

Vote

2

Regular Expression
javascript

/
(?:http(?:s)?:\/\/)?(?:player.|www\.)?(facebook\.com|vimeo\.com|ebaumsworld\.com|youtu(?:be\.com|\.be|be\.googleapis\.com)|liveleak\.com|break\.com)\/(?:video\.php(?:\?v=)|media\/embed\/|video\/watch\/|video\/|embed\/|watch\?v=|v\/)?(?:(?:view|ll_embed)\?)?(?:(f|i)=)?(?:video\/|(?:.*-))?([A-Za-z0-9._%-]*)(?:\&\S+)?
/

Description

Loading markdown...
Submitted by Misthero - 7 years ago