Regular Expressions 101

Sponsors

Library entries

1
javascript

Emoji chars

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

match block apache

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

2013b

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

Caculator

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

inline-sub-via-sed

regex for inline substitution w/ sed
Submitted by anonymous - 7 years ago
-2
javascript

twitter ids

no description available
Submitted by jaybill - 7 years ago
1
pcre

Extract values from log

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

Cisco ASA

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

Beginning of word

When looking for day, Sunday should not be matched.
Submitted by Ben - 7 years ago
4
javascript

match brackets outside quotes

no description available
Submitted by Jerry - 7 years ago

YouTube Video ID + URL validator

Vote

0

Regular Expression
pcre

/
(?:[hH][tT]{2}[pP][sS]{0,1}:\/\/)?[wW]{0,3}\.{0,1}[yY][oO][uU][tT][uU](?:\.[bB][eE]|[bB][eE]\.[cC][oO][mM])?\/(?:(?:[wW][aA][tT][cC][hH])?(?:\/)?\?(?:.*)?[vV]=([a-zA-Z0-9--]+).*|([A-Za-z0-9--]+))
/
g

Description

Loading markdown...
Submitted by Billy Venner - 7 years ago