Regular Expressions 101

Sponsors

Library entries

2
pcre

Unicode url sanitising

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

Unicode email sanitising

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

test

no description available
Submitted by anonymous - 8 years ago
3
javascript

po box

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

Any Character Between 6-64 Long

Allowing for complex passwords
Submitted by anonymous - 8 years ago
1
pcre

Facebook Video ID from link

Matches the video id in FB links
Submitted by Eirenaios - 8 years ago
-3
pcre

cake

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

hjghj

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

12345

no description available
Submitted by anonymous - 8 years ago

BOOLEAN EXPRESSION WITH BRACKETS MATCHER

Vote

3

Regular Expression
pcre

/
(?(DEFINE) (?<exprs> (?&expr)(\s+(?&bool)\s+((?&expr)|\(\s*(?&exprs)\s*\)))* ) (?<expr> (?&valleft)\s?(?&comp)\s?(?&valright) ) (?<comp> ((!=)|(==)|(<=)|(>=)|(<)|(>)){1} ) (?<valleft> (?&not)[\w\.]+ ) (?<valright> [\w\.]+ ) (?<bool> (and|or) ) (?<not> (not\s+)?) ) (?&exprs)
/
xmi

Description

Loading markdown...
Submitted by Ilya Filisteev - 6 years ago