Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-09-13 09:53
Flavor·Python

r"
^\d{4}\s?[A-Z]{2}$
"
gm
Open regex in editor

Description

This identifies whether a postcode (four numbers, two letters has been provided)

Submitted by anonymous