Regular Expressions 101

Sponsors

Library entries

0
javascript

href parse v2

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
2
javascript

Href parse

matches href, title, innerhtml
Submitted by chrysls - 7 years ago
1
javascript

password validation

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

FEN

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

FEN

FEN is "Forsyth-Edwards Notation"
Submitted by maxqua72 - 7 years ago
2
javascript

Removes script tags

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

Brazilian Phone number

With optional 9 digit
Submitted by Matheus Gambati - 7 years ago
2
javascript

kasd; fk.!@#$%^&*()*()%^&*()_

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

extract domain with port

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

Password

aA1@
Submitted by anonymous - 7 years ago
1
javascript

Email Address

vishal1@vishal.com
Submitted by anonymous - 7 years ago
1
javascript

Steam Permalink ID -

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

C# Generic Parameters

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