Classifier Summary: Credit Card - Discover

Basic Information

Caption: Credit Card - Discover

Description: This classifier identifies Discover credit card numbers using a regular expression, relevant nearby terms and LUHN validation . It accommodates both hyphen-separated formats and non-delimited formats, ensuring coverage of all common variations.

Type: By content

Value Per Record: $100

Sensitive: Yes

Active: Yes

Regulations

  • PCI
  • FTC

Conditions

  • Matches regex: (((?:^|[^-+,'\"#;:\w])(60|64|65)(\d{14}|\d{17})(?:^|[^-+'\"#;:\w]))|((?:^|[^-+'\"#;:\w])(60|64|65)\d{2}(\-\d{4}){3})(?:\-\d{3})?)(?:^|[^-+'\"#;:\w])
  • Nearby Words: "Discover, credit, CCN, CRV, CCV, Exp"
  • Validation Method: LUHN

Regular Expression Description

This regex detects a 16-digit or 19-digit number starting with 60, 64 or 65, followed by 14 or 17 numeric digits (0–9). It can be non-delimited 16-digit or 19 digits number or a hyphenated format (e.g., 6011-0009-9013-9424). To reduce false positives, the rule also requires the presence of nearby terms such as "credit," "CCN," "CRV," "CCV," or "Exp." and LUHN validation.

To check if a string matches this regular expression, use Regex101.