Regular Expressions 101

Sponsors

Library entries

1
python

CRON

Validades cron job time specification
Submitted by anonymous - 5 months ago
1
javascript

HTML注释

HTML注释
Submitted by anonymous - 3 months ago
1
javascript

phone regex

phone regex
Submitted by antiai - 2 months ago
1
javascript

提取步骤1

提取步骤1
Submitted by liangchao - 2 months ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 2 months ago

YouTube Embed Video & Playlist from URL

Vote

2

Regular Expression
javascript

/
(https?:\/\/)?(www.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(?:embed\/|v\/|watch\?v=|watch\?list=(.*)&v=)?((\w|-){11})(&list=(\w+)&?)?
/
i

Description

Loading markdown...
Submitted by @rubenlopezgea - 7 years ago