Regular Expressions 101

Community Patterns

Switzerland UID id

1

Regular Expression
PCRE (PHP <7.3)

/
(ADM|CHE)\d{9}
/
i

Description

matches the Swiss government's UID id for enterprises

Submitted by marcel - 10 years ago