Regular Expressions 101

Sponsors

Library entries

2
javascript

SSN

allow nine digits only
Submitted by anonymous - 7 years ago
2
javascript

get href

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

URL with Port

no description available
Submitted by rkl - 7 years ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - 2 years ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago

UK Postcode

Vote

4

Regular Expression
javascript

/
^([Gg][Ii][Rr][ ]0[Aa]{2})|([a-zA-Z]){1}([0-9][0-9]|[0-9]|[a-zA-Z][0-9][a-zA-Z]|[a-zA-Z][0-9][0-9]|[a-zA-Z][0-9]){1}(\s?)([0-9][a-zA-z][a-zA-z]){1}$
/
i

Description

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