Regular Expressions 101

Sponsors

Library entries

0
pcre2

SMB share parsing

A regex for parsing SMB shares
Submitted by Drav Sloan - 10 days ago
0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 11 days ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - 11 days ago
0
python

SoundsExtract

extract sounds
Submitted by anonymous - 11 days ago
1
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - 11 days ago
0
pcre2

等等

方法
Submitted by anonymous - 12 days ago

best youtube id match ( iframe embed replace ready )

Vote

4

Regular Expression
pcre

/
(?:https?:)?(?:\/\/)?(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])([\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:['"][^<>]*>|<\/a>))[?=&+%\w.-]*
/
gim

Description

Loading markdown...
Submitted by mi-ca.ch - 3 years ago