Regular Expressions 101

Sponsors

Library entries

1
javascript

array path

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

Custom Commit ReGex

Custom Commit ReGex Test
Submitted by Kewal Rathod - a month ago
1
pcre2

Links

Beginner way to highlight links
Submitted by anonymous - a month ago
1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - a month ago
1
javascript

File extension

Retrieve the file extension of a filename
Submitted by anonymous - 24 days ago
1
pcre2

Detect zoom meeting links

Find zoom links in text
Submitted by Artyom Ivanov - 24 days 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