Regular Expressions 101

Sponsors

Library entries

0
python

teste

tes
Submitted by tes - 7 years ago
1
javascript

ie 11 check

checks for ie 11 user agent
Submitted by Yamakichi - 7 years ago
-2
pcre

Parse all adresses in href

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

4shared

www.4shared.com
Submitted by guru - 7 years ago
1
pcre

a-zA-Z + 0-9 + [!$%&?]

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

leap year validate

no description available
Submitted by Ahosan Karim Asik - 7 years ago
4
pcre

Phone number

no description available
Submitted by Mark Landry - 7 years ago
0
pcre

test

AttributeConnID 45524524355
Submitted by anonymous - 7 years ago
-3
pcre

iOS.Strings

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

For telephone

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

ipv4

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

Div content

no description available
Submitted by mohammadsaleh - 7 years ago

LMC date match

Vote

1

Regular Expression
javascript

/
^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)))$
/

Description

Loading markdown...
Submitted by David Zurcher - 7 years ago