Regular Expressions 101

Sponsors

Library entries

0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 13 days ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 13 days ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 13 days ago
1
javascript

File extension

Retrieve the file extension of a filename
Submitted by anonymous - 21 days ago
0
pcre

css class

css class
Submitted by anonymous - 23 days ago

Get YouTube ID in link

Vote

0

Regular Expression
javascript

/
(?:youtu\.?be(?:-nocookie)?(?:\.com)?(?:\/|watch\?v=|embed\/)+)([\w-]+)
/
g

Description

Loading markdown...
Submitted by anonymous - 2 months ago