RegularRegExpressionsEx101
Show Sidebar
Library entries
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - an hour ago
EN_US
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - 2 hours ago
ES_ES
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - 2 hours ago
FR_FR
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - 2 hours ago
FR_CH
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
python
Submitted by anonymous - 9 hours ago
Ex1
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 10 hours ago
UNIMARC embedded to standard subfield
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
golang
Submitted by anonymous - a day ago
issue lookbehind
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - 2 days ago
rm everything btwn delimiters
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
python
Submitted by anonymous - 2 days ago
fail2ban-php404
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 2 days ago
^[A-Z][a-z0-9_-]*( +[A-Z][a-z0-9_-]*)*$
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 3 days ago
AutoitParser Include
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 4 days ago
analytics config one line
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 4 days ago
Asterisk Channel
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 4 days ago
GB_hw22
Image file detection (jpg or jpeg) at the link
Library Entry
Close
UK Postcode Checker
pcre
/
^([a-zA-Z]{1,2}\d{1,2})\s*?(\d[a-zA-Z]{2})$
/
gmi
Description

Checks for valid UK/British postcodes.

There was another on here that had for some reason been upvoted, but it was actually incorrect as it worked on none of my valid own postcodes! Namely that it assumed two letters and a number (BS3) when you can have variations (M20). Allows for an optional space and separates the two parts into groups.

Submitted by MaffooBristol - 5 years ago
Discussion