Regular Expressions 101

Sponsors

Library entries

1
pcre

Czech Bank Account Number

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

boolean

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

find numbers with 2 commas

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

WKT POINT to longtitude and latitude

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

Update something

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

coffeescript operator

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

match invalid postcode

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

H

I
Submitted by anonymous - 7 years ago
0
pcre

float

matches floats: 1.0f 1.0F .0f .1F 1f 1F
Submitted by Mateusz Paluch - 7 years ago
-2
pcre

float

matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by Mateusz Paluch - 7 years ago
1
pcre

Git merge replacements

Group 1 gives ours, group 2 gives theirs
Submitted by Erik - 7 years ago
1
pcre

android strings tester

replace .* with a test string
Submitted by l3d00m - 7 years ago
1
python

Line VTY

Used to search line vty for exec
Submitted by Hozenya - 7 years ago
1
pcre

test

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

RFC2616 HTTP Header Date

no description available
Submitted by anonymous - 7 years ago

boolean expression with brackets matcher

Vote

1

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)
/
xmg

Description

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