Regular Expressions 101

Sponsors

Library entries

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

DOTNET

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

Get begining of url (subdomain)

In between 2 delimiters
Submitted by anonymous - 7 years ago
-3
pcre

Browser regex

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

test2

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

DateTime YYYY-MM-DD hh:mm:ss

no description available
Submitted by Madhan - 9 years ago
-3
pcre

Date and Time

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

hjghj

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

cake

no description available
Submitted by anonymous - 9 years ago

Date Regex(DD/MM/yyyy)

Vote

18

Regular Expression
pcre

/
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$
/
g

Description

Loading markdown...
Submitted by alcaamado - 7 years ago