Regular Expressions 101

Sponsors

Library entries

-2
pcre

ex_3_b

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

12 Hour Time Pattern

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

xml_kv_extraction

Basic XML key-value extraction
Submitted by Keith Muggleton - 7 years ago
-2
pcre

march html tag

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

Camelize JSON

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

Substitute text between brackets

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

French phone attempt

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

remove eval(base64_decode( ));

\seval\(base64_decode\(?\)\);
Submitted by manish kumar - 7 years ago
-2
pcre

float

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

boolean

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

Simple Username Pattern

a simple username pattern
Submitted by Saeed Tabrizi - 7 years ago

dd-mm-YYYY HH:mm:ss (year range 1000-2999)

Vote

-18

Regular Expression
pcre

/
^(0[1-9]|1\d|2[1-8]|29(?=-\d\d-(?!1[26]00|2[048]00)\d\d(?:[02468][048]|[13579][26]))|30(?!-02)|31(?=-0[13578]|-1[02]))-(0[1-9]|1[0-2])-[12]\d{3} ([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$
/
gm

Description

Loading markdown...
Submitted by Ka. - 9 years ago