Credit Card Number (Visa)

Prev Next

Credit Card Number (Visa) is 16-digit number and might have dashes (hyphen) or spaces as separators. For example, NNNN-NNNN-NNNN-NNNN or NNNN NNNN NNNN NNNN. This excludes common test card numbers.

Validator

Validator

Description

Luhn 10 (remainder 0)

Validates using the Luhn 10 checksum.



Matched expressions

Regex expressions

Description

Score

\b4\d{3}-\d{4}-\d{4}-\d{4}\b

Matches a 16-digit number beginning with 4, delimited by hyphen.

1

\b4\d{3} \d{4} \d{4} \d{4}\b

Matches a 16-digit number beginning with 4, delimited by space.

1

\b4\d{15}\b

Matches a 16-digit number beginning with 4, without a delimiter.

1



Ignored expressions

Regex expressions

Description

4005([ -]?)5500([ -]?)0000([ -]?)0001

4005550000000001 delimited by space or hyphen.

4012([ -]?)8888([ -]?)8888([ -]?)1881

4012888888881881 delimited by space or hyphen.

4111([ -]?)1111([ -]?)1111([ -]?)1111

4111111111111111 delimited by space or hyphen.

4444([ -]?)3333([ -]?)2222([ -]?)1111

4444333322221111 delimited by space or hyphen.

4539([ -]?)1050([ -]?)1153([ -]?)9664

4539105011539664 delimited by space or hyphen.

4555([ -]?)4000([ -]?)0055([ -]?)5123

4555400000555123 delimited by space or hyphen.

4564([ -]?)4564([ -]?)4564([ -]?)4564

4564456445644564 delimited by space or hyphen.

4544([ -]?)1821([ -]?)7453([ -]?)7267

4544182174537267 delimited by space or hyphen.

4716([ -]?)9147([ -]?)0653([ -]?)4228

4716914706534228 delimited by space or hyphen.

4916([ -]?)5417([ -]?)1375([ -]?)7159

4916541713757159 delimited by space or hyphen.

4916([ -]?)6156([ -]?)3934([ -]?)6972

4916615639346972 delimited by space or hyphen.

4917([ -]?)6100([ -]?)0000([ -]?)0000

4917610000000000 delimited by space or hyphen.