Regular Expressions 101

Sponsors

Library entries

1
pcre

URL parser RegEx

Parse full URL and find parts
Submitted by Dakr Coder - 7 years ago
1
python

Ordinal

Matches ordinal numbers
Submitted by D - 7 years ago
1
javascript

huj

no description available
Submitted by anonymous - 7 years ago
0
pcre

$ en anglais ($xx.xx)

$ en anglais ($xx.xx)
Submitted by EA - 7 years ago
3
pcre

Nombres 4 chiffres

Nombres 4 chifres
Submitted by EA - 7 years ago
1
pcre

Site (Régis)

Site Régis
Submitted by EA - 7 years ago
1
pcre

Site FR

Site FR, pour trouver la version correcte.
Submitted by EA - 7 years ago

extract video id from youtube url

Vote

1

Regular Expression
pcre

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

Description

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