Regular Expressions 101

Sponsors

Library entries

0
javascript

sss

ssss
Submitted by anonymous - 10 days ago
1
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 10 days ago
0
java

Mpe

coda test
Submitted by anonymous - 11 days ago
0
pcre

Time format

38 Seconds
Submitted by anonymous - 11 days ago
0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 11 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 12 days 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 - 6 years ago