Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?:https:\/\/youtu\.be\/.{11}|https:\/\/www\.youtube\.com\/watch\?v=.{11})
/
gmi

Description

Short or long. Without channel, playlist and any other options

Submitted by anonymous - 4 years ago