Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-12-01 01:39
Flavor·ECMAScript (JavaScript)

/
^[A-Z]{3}|[Dd]?
/
gm
Open regex in editor

Description

3 alpha characters expected, except in the instance of Germany which allows 1 alpha character.

Submitted by anonymous