Regular Expressions 101

Sponsors

Library entries

0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - 12 hours ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - a day ago
0
javascript

File extension

Parse file extension.
Submitted by Webmato - a day ago
0
java

date dd.mm.yyyy

Date format dd.mm.yyyy
Submitted by anonymous - a day ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 6 days ago
0
dotnet

BI/CC

Verificação do número de BI/CC
Submitted by anonymous - 7 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 8 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 9 days ago
0
javascript

sql inj

as
Submitted by anonymous - 10 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 - 3 months ago