Regular Expressions 101

Library entries

0
python

emailfider

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

Between tags content

no description available
Submitted by Agustín Bouillet - 8 years ago
1
pcre

[\d]*

kostix@mail.ru
Submitted by anonymous - 8 years ago
1
pcre

Czech Bank Account Number

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

boolean

Value must be either true or false
Submitted by nstaal - 8 years ago
2
pcre

find numbers with 2 commas

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

WKT POINT to longtitude and latitude

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

Update something

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

coffeescript operator

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

match invalid postcode

match as long as not 5digit code
Submitted by anonymous - 8 years ago
1
pcre

H

I
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 - 8 years ago