Regular Expressions 101

Library entries

3
javascript

email

no description available
Submitted by anonymous - 7 years ago
3
javascript

mm/dd/yyyy Date

no description available
Submitted by jay johnson - 9 years ago
3
javascript

po box

no description available
Submitted by anonymous - 9 years ago
3
javascript

javascript template replacement

no description available
Submitted by akamaozu - 9 years ago
3
javascript

TEST

negation
Submitted by anonymous - 8 years ago
3
javascript

Simple math regex

no description available
Submitted by anonymous - 8 years ago
3
javascript

Italian VAT (IVA)

Italian VAT
Submitted by Italo - 8 years ago
3
javascript

Italian ZIP code (CAP)

Codice avviamento postale Italiano (ZIP)
Submitted by Italo - 8 years ago

youtube url match

Vote

4

Regular Expression
javascript

/
(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|playlist\?|watch\?v=|watch\?.+(?:&|&);v=))([a-zA-Z0-9\-_]{11})?(?:(?:\?|&|&)index=((?:\d){1,3}))?(?:(?:\?|&|&)?list=([a-zA-Z\-_0-9]{34}))?(?:\S+)?
/
g

Description

Loading markdown...
Submitted by anonymous - 8 years ago