Matches valid credit card numbers (i.e with valid Luhn checksum) in all varieties: lengths (depending on the credit card scheme), formattings (continuous, space-delimited), encodings (when submitted in the URL).
output type
quantifier
configuration
long
none
none
3782822463100053782 822463 10005385200000232364917%206100%200000%200000%20003
Pattern:
CREDITCARD:cc EOL;
Parsing results creditcard numbers in lines 1,2 and 4 parsed into long field cc
. Parsing fails for line 3 due to invalid Luhn check digit.
378282246310005
378282246310005
NULL
4917610000000000003