Credit Card Number (Diner's Club) is a 14-digit number beginning with 300–305, 36, 38, or 39 and might have dashes (hyphens) or spaces as separators. For example, NNNN-NNNNNN-NNNN or NNNN NNNNNN NNNN. Matches exclude common test card numbers.
Validator
Validator | Description |
|---|---|
Luhn 10 (remainder 0) | Validates using the Luhn 10 checksum. |
Matched expressions
Regex expressions | Description | Score |
|---|---|---|
| Matches a 14-digit number of the format NNNN-NNNNNN-NNNN that begins with 300–305, delimited by hyphen. | 1 |
| Matches a 14-digit number of the format NNNN NNNNNN NNNN that begins with 300–305, delimited by space. | 1 |
| Matches a 14-digit number of the format NNNNNNNNNNNNNN that begins with 300–305, without a delimiter. | 1 |
| Matches a 14-digit number of the format NNNN-NNNNNN-NNNN that begins with 36, 38, or 39, delimited by hyphen. | 1 |
| Matches a 14-digit number of the format NNNN NNNNNN NNNN that begins with 36, 38, or 39, delimited by space. | 1 |
| Matches a 14-digit number of the format NNNNNNNNNNNNNN that begins with 36, 38, or 39, without a delimiter. | 1 |
Ignored expressions
Regex expressions | Description |
|---|---|
| 30204169322643 delimited by space or hyphen. |
| 30218047196557 delimited by space or hyphen. |
| 30221511563252 delimited by space or hyphen. |
| 30464000005512 delimited by space or hyphen. |
| 36000000000008 delimited by space or hyphen. |
| 36148900647913 delimited by space or hyphen. |
| 36700102000000 delimited by space or hyphen. |
| 38520000023237 delimited by space or hyphen. |
| 39123456789019 delimited by space or hyphen. |