Regular Expressions 101

Sponsors

Library entries

1
python

reg example

no description available
Submitted by horangs - 7 years ago
1
pcre

MRZ Line 1

Machine Readable passport rule for first line
Submitted by Igor Ferreira - 7 years ago
1
pcre

MRZ Line 2

Machine readable passport rule for the second line
Submitted by Igor Ferreira - 7 years ago
1
pcre

Mexico Phones Number

telefonos en mexico
Submitted by whereisanddy - 7 years ago
1
javascript

places

This is a regular expression for validating places
Submitted by noby nirmal - 7 years ago
1
pcre

weapons list

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

making things into columns

no description available
Submitted by anonymous - 7 years ago
2
pcre

the many john smiths

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

phone number

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

Josiah url

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

test1

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

\[[bui]\]

no description available
Submitted by Charlie - 7 years ago

UK Postcode matcher

Vote

1

Regular Expression
pcre

/
^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$
/

Description

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