Skip to main content

Credit Card Data Type

Credit card numbers are numeric data that follow the 14-digit or 16-digit patterns for credit cards.

Pattern:

#### #### #### ####
####-####-####-####
#### #### #### ##
####-####-####-##

Notes:

Some numerical combinations in the above patterns may be:

  • widely known test values

  • invalid for credit card numbers

For more information, see Data Type Validation Patterns.

Data Validation

When values are validated against the Credit Card data type, the Trifacta Application validates the values using regular expressions. This regular expression method checks for general Credit Card patterns and is fast to evaluate.

However, some values may follow the regular expression validation pattern but are not accurate credit card numbers. These values may be detected as valid values.