Regular Expressions 101

Sponsors

Library entries

0
python

pass

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

Email id

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

float

no description available
Submitted by anonymous - 8 years ago
-2
python

checklists item

checklists item
Submitted by Tobias Hochgürtel - 8 years ago
1
python

re

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

fact refactor

no description available
Submitted by anonymous - 8 years ago
-2
python

twitter usernames

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

token

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

search text matching any word

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

Date format regex for ddMMMyyyy

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

author bibtext

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