Regular Expressions 101

Sponsors

Library entries

-3
pcre

Replace abba with ABBA

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

Html Tags

Matches HTML structure
Submitted by sagar - 7 years ago
-3
pcre

retrieve hostname without subdomain

no description available
Submitted by Diego Zuluaga - 7 years ago
-2
javascript

email regexp

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

Finds HTML img tags

no description available
Submitted by Matt Solum - 9 years ago
-2
pcre

Remove namespaces

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

Date time

no description available
Submitted by Mr.Neutro - 9 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. - 10 years ago