Regular Expressions 101

Sponsors

Library entries

2
python

exp1

no description available
Submitted by anonymous - 6 years ago
2
javascript

validate german zip codes

no description available
Submitted by dopa0002 - 6 years ago
2
javascript

Extract domain from URL

Extract the domain out of an url
Submitted by anubhava - 6 years ago
2
python

EclipseKeyword_2

no description available
Submitted by Rashmin - 6 years ago
2
python

AliasMatch

no description available
Submitted by anonymous - 6 years ago
2
python

Adress regex

no description available
Submitted by Ali - 6 years ago
2
python

.*(\d+).* Selects last number

no description available
Submitted by anonymous - 6 years ago
2
javascript

Palindrome

Captures a palindrome of 9 digits or less
Submitted by anonymous - 6 years ago
2
javascript

foder add prefix

auto prefix ("/") to folder
Submitted by anonymous - 6 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 - 7 years ago