Regular Expressions 101

Library entries

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
0
pcre

float

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

float

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

Git merge replacements

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

android strings tester

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

Line VTY

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

test

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

RFC2616 HTTP Header Date

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

MyRegexOnVeb

Выражения на вебы
Submitted by Legend072 - 8 years ago
1
pcre

extraction

jamie sucks
Submitted by me - 8 years ago
1
pcre

currency-50-100000

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

Select string in between HTML tags

no description available
Submitted by Jim Sheen - 8 years ago
1
pcre

magento digits-range validation

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

f

f
Submitted by f - 8 years ago
1
pcre

Delte first symbols in line

no description available
Submitted by Ilya Korzh - 8 years ago
1
python

Nuclear Exploit Kit

Nuclear Exploit Kit Requested file
Submitted by anonymous - 8 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 - 8 years ago