Regular Expressions 101

Sponsors

Library entries

1
javascript

Javascript GUID regex

Validate GUID using a regex expression
Submitted by stom - 7 years ago
1
javascript

HCPCS

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

ICD9

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

UK Postcode

no description available
Submitted by msyed - 7 years ago
1
python

date validation (yyyy-mm-dd)

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

get href

gets value of href
Submitted by me - 7 years ago
1
javascript

syntax?

trying to figure out how to find variable names only
Submitted by me - 7 years ago
1
javascript

search file name from path / url

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

Date expression

yyyy-mm-dd
Submitted by Alan - 7 years ago
1
python

rocola

for #regex
Submitted by ElGatoSaez - 7 years ago
0
javascript

zepit multiline

no description available
Submitted by antoine - 7 years ago

US datetime

Vote

2

Regular Expression
javascript

/
^([1-9]|(?=0)0[1-9]|(?=1)1[0-2])[-/.]([1-9]|(?=[0-2])[0-2][0-9]|(?=3)3[0-1])[-/.](\d{4}|\d{2})( ([1-9]|(?=[0-1])[0-1][0-9]|(?=2)2[0-4]):(?=[0-5])[0-5][0-9](:(?=[0-5])[0-5][0-9])?(a|p|A|P|am|pm|AM|PM)?)?$
/
gm

Description

Loading markdown...
Submitted by anonymous - 7 years ago