Regular Expressions 101

Sponsors

Library entries

1
javascript

replace directive with iife

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

float

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

token

replace token like [foo:bar:ba zz]
Submitted by anonymous - 7 years ago
1
javascript

search text matching any word

search text matching any word
Submitted by Hiren Shah - 7 years ago
-2
javascript

Date format regex for ddMMMyyyy

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

author bibtext

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

Vimeo Video ID

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

YouTube Video PArser

no description available
Submitted by Shafique - 7 years ago
0
javascript

two matches with pipe

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