Classifier Summary: Credit Card - American Express

Basic Information

Caption: Credit Card - American Express

Description: This classifier identifies American Express 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])(3[47][0-9]{13})(?![-+.,'\"#;:\w]) | (?:^|[^-+.,'\"#;:\w])(3[47][0-9]{2}\-[0-9]{6}\-[0-9]{5})(?![-+.,'\"#;:\w])
  • Nearby Words: "American Express, AmEx, credit, CCN, CRV, CCV, Exp"
  • Validation Method: LUHN

Regular Expression Description

This regex detects a 15-digit number starting with 34 or 37, followed by 13 numeric digits (0–9). It can be non-delimited 15-digit number or a hyphenated format (e.g., 3712-34567-891011). To reduce false positives, the condition 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.