Regular Expressions 101

Sponsors

Library entries

0
pcre

Time format

38 Seconds
Submitted by anonymous - 10 days ago
0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 10 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 11 days ago

Extract video code from YouTube URL

Vote

1

Regular Expression
javascript

/
^(!http|https):\/\/www.youtube\.com\/.*?v=(\w{11})
/

Description

Loading markdown...
Submitted by @uimanwashere - 7 years ago