Regular Expressions 101

Community Patterns

Community Library Entry

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 - 11 years ago