Regular Expressions 101

Sponsors

Library entries

-3
pcre

ipv4 - short version

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

UpperCase words

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

a

a
Submitted by a - 8 years ago
-3
pcre

Replace abba with ABBA

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

retrieve hostname without subdomain

no description available
Submitted by Diego Zuluaga - 7 years ago
-4
pcre

Twitter hashtags extractor

Extract hashtags from text
Submitted by anonymous - 9 years ago
-4
pcre

For telephone

This is for telephone pattern +1 123-123-1234
Submitted by kevin - 8 years ago
-4
pcre

IP Address Validation

List of possible IPs
Submitted by Paolo Carrasco - 7 years ago
-7
pcre

hi

no description available
Submitted by asf - 9 years ago
-9
pcre

Regular exp to exclude a domain

to exclude one domain abc.com
Submitted by Sandy - 10 years ago
-10
pcre

need help

no description available
Submitted by sachin - 9 years ago
-10
pcre

test

no description available
Submitted by test - 9 years ago

Date: DD-MM-YYYY hh:mm:ss

Vote

18

Regular Expression
pcre

/
^(0[1-9]|1\d|2[0-8]|29(?=-\d\d-(?!1[01345789]00|2[1235679]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