REGEX Código Postal Pt

Published on Tue Mar 01 2022

Expressão regular para o código postal (postcode) portugês

Additional matching regexes for
REGEX Código Postal Pt

REGEX Código Postal Pt

Expressão regular para o código postal (postcode) portugês

Better version of UK postcode

This UK postcode regex will match all variants of postcode formats including inner London postcodes (eg SW1A), with optional space (both AL11XP and AL1 1XP are valid) It will reject any postcode that does not specify a valid postcode area. Each part of the postcode is also captured into a capture group as follows: group 1: POSTCODE AREA group 2: POSTCODE DISTRICT group 3: POSTCODE SECTOR group 4: POSTCODE UNIT

Validate Argentinian postal code

Validates CPA (Código Postal Argentino, spanish for Argentinian Postal Code).

Thorough UK Postcode Validator with In/Out code capture groups

A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.

Validates argentinian postal code

Validates the two valid postal codes in Argentina

Argentine postal code validation

validation for Argentina postal codes, previous four digits + new CPA

US Zip Code

This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.

hostname

RFC 1123 compatible RegEx for a hostname (not a domain name), inspired by chapter 7.15 from Regular Expressions Cookbook.

shortcode wordpress

Wordpress shortcode regular expression

Binary code regular expression

Regular expression for binary code.