--- title: "Credit Card Number (Mastercard)" slug: "credit-card-number-mastercard" tags: ["Reference", "DLP 11.10.x", "DLPD 11.10.x", "DLPE 11.10.x", "DLPMac 11.10.x", "DLPNM 11.10.x", "DLPNP 11.10.x", "DLP 11.11.x", "DLPE 11.11.x", "DLPExtn 11.11.x", "DLPNM 11.11.x", "DLPNP 11.11.x"] updated: 2026-09-02T05:56:05Z published: 2026-09-02T05:56:05Z canonical: "docs.trellix.com/credit-card-number-mastercard" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Credit Card Number (Mastercard) Credit Card Number (Mastercard) is a 16-digit number beginning with 51–55 or 2221– 2720 and might have dashes (hyphens) 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 | | --- | --- | --- | | `\b5[1-5]\d{2}-\d{4}-\d{4}-\d{4}\b` | Matches a 16-digit number beginning with 51, 52, 53, 54, or 55, delimited by hyphen. | 1 | | `\b5[1-5]\d{2} \d{4} \d{4} \d{4}\b` | Matches a 16-digit number beginning with 51, 52, 53, 54, or 55, delimited by space. | 1 | | `\b5[1-5]\d{14}\b` | Matches a 16-digit number beginning with 51, 52, 53, 54, or 55, without a delimiter. | 1 | | `\b2[2-7]\d{2}-\d{4}-\d{4}-\d{4}\b` | Matches a 16-digit number beginning with 22, 23, 24, 25, 26, or 27, delimited by hyphen. | 1 | | `\b2[2-7]\d{2} \d{4} \d{4} \d{4}\b` | Matches a 16-digit number beginning with 22, 23, 24, 25, 26, or 27, delimited by space. | 1 | | `\b2[2-7]\d{14}\b` | Matches a 16-digit number beginning with 22, 23, 24, 25, 26, or 27, without a delimiter. | 1 | ### Ignored expressions | Regex expressions | Description | | --- | --- | | `5100([- ]?)0800([ -]?)0000([ -]?)0000` | 5100080000000000 delimited by space or hyphen. | | `5105([- ]?)1051([ -]?)0510([ -]?)5100` | 5105105105105100 delimited by space or hyphen. | | `5111([- ]?)1111([ -]?)1111([ -]?)1118` | 5111111111111118 delimited by space or hyphen. | | `5123([- ]?)4567([ -]?)8901([ -]?)2346` | 5123456789012346 delimited by space or hyphen. | | `5123([- ]?)6197([ -]?)4539([ -]?)5853` | 5123619745395853 delimited by space or hyphen. | | `5138([- ]?)4951([ -]?)2555([ -]?)0554` | 5138495125550554 delimited by space or hyphen. | | `5274([- ]?)5763([ -]?)9425([ -]?)9961` | 5274576394259961 delimited by space or hyphen. | | `5301([- ]?)7455([ -]?)2913([ -]?)8831` | 5301745529138831 delimited by space or hyphen. | | `5311([- ]?)5312([ -]?)8600([ -]?)0465` | 5311531286000465 delimited by space or hyphen. | | `5364([- ]?)5870([ -]?)1178([ -]?)5834` | 5364587011785834 delimited by space or hyphen. | | `5404([- ]?)0000([ -]?)0000([ -]?)0001` | 5404000000000001 delimited by space or hyphen. | | `5431([- ]?)1111([ -]?)1111([ -]?)1111` | 5431111111111111 delimited by space or hyphen. | | `5454([- ]?)5454([ -]?)5454([ -]?)5454` | 5454545454545454 delimited by space or hyphen. | | `5459([- ]?)8862([ -]?)6563([ -]?)1843` | 5459886265631843 delimited by space or hyphen. | | `5460([- ]?)5060([ -]?)4803([ -]?)9935` | 5460506048039935 delimited by space or hyphen. | | `5500([- ]?)9391([ -]?)7800([ -]?)4613` | 5500939178004613 delimited by space or hyphen. | | `5555([- ]?)5555([ -]?)5555([ -]?)4444` | 5555555555554444 delimited by space or hyphen. | | `5556([- ]?)4000([ -]?)0055([ -]?)1234` | 5556400000551234 delimited by space or hyphen. | | `5565([- ]?)5520([ -]?)6448([ -]?)1449` | 5565552064481449 delimited by space or hyphen. | | `5597([- ]?)5076([ -]?)4491([ -]?)0558` | 5597507644910558 delimited by space or hyphen. | | `220\d([- ]?)\d{4}([ -]?)\d{4}([ -]?)\d{4}` | Numbers beginning with 220. | | `221\d([- ]?)\d{4}([ -]?)\d{4}([ -]?)\d{4}` | Numbers beginning with 221. | | `2220([- ]?)\d{4}([ -]?)\d{4}([ -]?)\d{4}` | Numbers beginning with 2220. | | `272[1-9]([- ]?)\d{4}([ -]?)\d{4}([ -]?)\d{4}` | Numbers beginning with 2721–2729. | | `27[3-9]\d([- ]?)\d{4}([ -]?)\d{4}([ -]?)\d{4}` | Numbers beginning with 273–279. |