Regular Expressions 101

Sponsors

Library entries

1
pcre

Get Itunes ID

Get itunes id from url
Submitted by sendypw - 8 years ago
1
pcre

Email validation

because everything else is too strict
Submitted by anonymous - 8 years ago
1
pcre

rvewr

no description available
Submitted by anonymous - 8 years ago
1
pcre

match any email address in list

no description available
Submitted by cloneman - 8 years ago
2
javascript

html font to bbcode

no description available
Submitted by anonymous - 8 years ago
1
pcre

Match mydomain*.mydomain.com

no description available
Submitted by Trappist - 8 years ago
1
javascript

big apple is fool

no description available
Submitted by litianzhao - 8 years ago
1
pcre

Ja som's regex

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

Alternative Capture Country Codes

no description available
Submitted by Branden - 8 years ago
1
javascript

quantity matcher

no description available
Submitted by anonymous - 8 years ago

ISO 8601 date

Vote

3

Regular Expression
pcre

/
^([\+-]?\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+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$
/
mgi

Description

Loading markdown...
Submitted by anonymous - 8 years ago