Regular Expressions 101

Sponsors

Library entries

1
pcre

testmmoj

no description available
Submitted by anonymous - 8 years ago
2
pcre

find numeric groups in strings

no description available
Submitted by Vovan - 8 years ago
1
pcre

Grab {\w+?} together

no description available
Submitted by anonymous - 8 years ago
2
pcre

Li match

no description available
Submitted by anonymous - 8 years ago
1
pcre

regex test

testing the string abc xyx 12 13 a a b
Submitted by Alien Coders - 8 years ago
0
pcre

Share?

Test
Submitted by test - 8 years ago
2
pcre

Regex Capture String

Capture out Parts using regular expressions
Submitted by Brandon - 8 years ago
0
pcre

asdfs

sfsdadf
Submitted by poter - 8 years ago
-2
pcre

1

no description available
Submitted by anonymous - 8 years ago

youtube links in wp/embed context

Vote

1

Regular Expression
pcre

/
(?<=(?:\[embed\])|(?:\[embed\]\s)|(?:))(https?:\/\/)(:?www\.)?(:?youtube\.com\/watch|youtu\.be\/)([\w\?=\&]+)(?=(?:\[\/embed\])|(?:\s\[\/embed\])|(?:))
/
gims

Description

Loading markdown...
Submitted by anonymous - 8 years ago