Regular Expressions 101

Sponsors

Library entries

7
javascript

Match text (not within html tag)

no description available
Submitted by Moistly - 7 years ago
1
javascript

Check if number is a float

no description available
Submitted by @hiaru - 7 years ago
1
javascript

very basic email regex

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

LOL

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

JS Regex Lazy quantifier

JS Regex Lazy quantifier
Submitted by anonymous - 7 years 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