Regular Expressions 101

Sponsors

Library entries

0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 14 hours ago
0
pcre

amazIng regex

super
Submitted by anonymous - 2 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 4 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 4 days ago
0
java

test

test
Submitted by anonymous - a month ago
0
pcre

Phone Format ( FORK )

f
Submitted by anonymous - a month ago
0
pcre

cert

cert regex
Submitted by anonymous - a month ago
0
java

Mt940-61

Parse tag 61 of an mt940 statement
Submitted by anonymous - a month 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 - 2 months ago