Regular Expressions 101

Community Patterns

Visa Country of Issue

1

Regular Expression
ECMAScript (JavaScript)

/
^[A-Z]{3}|[Dd]?
/
gm

Description

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

Submitted by anonymous - 8 years ago