Replace Credit Card Symbols generator

Replaces the symbols and patterns in a credit card schema including Luhn checksum.

helpers.replaceCreditCardSymbols

Generator settings

Generate data to see results here.

Parameters & Example

Replaces the symbols and patterns in a credit card schema including Luhn checksum.

helpers.replaceCreditCardSymbols(string?: string, symbol?: string)
string
The credit card format pattern. Defaults to '6453-####-####-####-###L'.
symbol
The symbol to replace with a digit. Defaults to '#'.

Example

"0000-6160-6438-1177"

Use synthetic data in a test environment.

Related generators

Explore scenarios