Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^[0-9]{3}\s?[0-9]{2}$
/

Description

This regexp will check for valid swedish postnumber

Submitted by JKD - 8 years ago