Regular Expressions 101

Sponsors

Library entries

2
pcre

httplinkresolver

get special tag contains html link
Submitted by okeskiner - 6 years ago
2
pcre

URL extractor

Extract parts of an URL.
Submitted by Gilles Marchand - 6 years ago
2
pcre

multiple sql like expressions

no description available
Submitted by robessog - 6 years ago
2
pcre

Delete Blank Lines

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

Email combo to username combo

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

negative lookahead

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

URL MATCH

URL MATCH
Submitted by activesatan - 6 years ago
2
python

.*(\d+).* Selects last number

no description available
Submitted by anonymous - 6 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