Regular Expressions 101

Sponsors

Library entries

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
2
javascript

Vimeo Video ID

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

YouTube Video PArser

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

DOS ASM Ops

Matches ops of DOS ASM
Submitted by anonymous - 8 years ago
1
python

print_build_data

URL to get build data from the api
Submitted by anonymous - 8 years ago
0
javascript

two matches with pipe

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

salary

Chinese salary input
Submitted by taijia - 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