Regular Expressions 101

Sponsors

Library entries

0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 days ago
0
javascript

prince first try

im just trying this out
Submitted by prince - 3 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 4 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 4 days ago
4
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 5 days ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 7 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 7 days ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 7 days ago
1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 8 days ago

Extract just YouTube IDs

Vote

0

Regular Expression
pcre

/
(?<=watch\?v=|\/videos\/|embed\/|youtu.be\/|\/v\/|watch\?v%3D|%2Fvideos%2F|embed%2F|youtu.be%2F|%2Fv%2F)[^#\&\?\n]*
/
ig

Description

Loading markdown...
Submitted by anonymous - 5 months ago