Regular Expressions 101

Sponsors

Library entries

0
javascript

MyRegex

Parse
Submitted by anonymous - a day ago
0
javascript

import syntax for regex with grouping

HAYO!
Submitted by CreeJee - 2 days ago
0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - 3 days ago
0
javascript

File extension

Parse file extension.
Submitted by Webmato - 4 days ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 9 days ago
0
javascript

sql inj

as
Submitted by anonymous - 13 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 16 days 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 - 8 years ago