Regular Expressions 101

Sponsors

Library entries

1
pcre

Regex

no description available
Submitted by anonymous - 6 years ago
1
pcre

Obtain src content from iframe

no description available
Submitted by Cmedina - 6 years ago
1
pcre

Find Factfinder Numeric Groups

no description available
Submitted by anonymous - 6 years ago
0
pcre

Extract domain name

extracting domain name from url
Submitted by anonymous - 6 years ago
1
pcre

phone

no description available
Submitted by anonymous - 6 years ago
1
pcre

q

q
Submitted by q - 6 years ago
1
pcre

How to capture Pokemon

no description available
Submitted by Liam - 6 years ago
1
pcre

Firefox 47 Test

for Issue #517 on Regex101 Github
Submitted by rambouillet - 6 years ago
1
pcre

mciCardDescription

no description available
Submitted by anonymous - 6 years ago
1
pcre

jquery

jquery
Submitted by anonymous - 6 years ago
1
pcre

Short regex

no description available
Submitted by Ric - 6 years ago
1
pcre

Long regex

no description available
Submitted by Ric - 6 years ago
1
pcre

SIP

no description available
Submitted by anonymous - 6 years ago
1
pcre

XML regex ADK

no description available
Submitted by Arjen - 6 years ago
1
pcre

csrf

csrf: '(.*?)'
Submitted by David - 6 years ago

Valid UK postcode check

Vote

0

Regular Expression
python

"
^([A-PR-UWYZa-pr-uwyz]([0-9]{1,2}|([A-HK-Ya-hk-y][0-9]|[A-HK-Ya-hk-y][0-9]([0-9]|[ABEHMNPRV-Yabehmnprv-y]))|[0-9][A-HJKS-UWa-hjks-uw])\ {0,1}[0-9][ABD-HJLNP-UW-Zabd-hjlnp-uw-z]{2}|([Gg][Ii][Rr]\ 0[Aa][Aa])|([Ss][Aa][Nn]\ {0,1}[Tt][Aa]1)|([Bb][Ff][Pp][Oo]\ {0,1}([Cc]\/[Oo]\ )?[0-9]{1,4})|(([Aa][Ss][Cc][Nn]|[Bb][Bb][Nn][Dd]|[BFSbfs][Ii][Qq][Qq]|[Pp][Cc][Rr][Nn]|[Ss][Tt][Hh][Ll]|[Tt][Dd][Cc][Uu]|[Tt][Kk][Cc][Aa])\ {0,1}1[Zz][Zz]))$
"

Description

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