--- title: "National Drug Code (NDC)" slug: "national-drug-code-ndc" 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:11Z published: 2026-09-02T05:56:11Z canonical: "docs.trellix.com/national-drug-code-ndc" --- > ## 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. # National Drug Code (NDC) The National Drug Code (NDC) is an identifier issued by the Food and Drug Administration (FDA) for an individual drug in the United States. An alternate format is defined by HIPAA regulations. ### Validator **No validation** ### Matched expressions | Regex expressions | Description | Score | | --- | --- | --- | | `\b\*?\d{4} \d{4} \d{2}\b` | Matches a 10-digit number of the format *NNNN NNNN NN or NNNN NNNN NN delimited by space. | 1 | | `\b\*?\d{4}-\d{4}-\d{2}\b` | Matches a 10-digit number of the format *NNNN-NNNN-NN or NNNN-NNNN-NN delimited by hyphen. | 1 | | `\b\d{5} *?\d{3} \d{2}\b` | Matches a 10-digit number of the format NNNNN *NNN NN or NNNNN NNN NN delimited by space. | 1 | | `\b\d{5}-*?\d{3}-\d{2}\b` | Matches a 10-digit number of the format NNNNN-*NNN-NN or NNNNN-NNN-NN delimited by hyphen. | 1 | | `\b\d{5} \d{4} *?\d\b` | Matches a 10-digit number of the format NNNNN *NNNN N or NNNNN NNNN N delimited by space. | 1 | | `\b\d{5}-\d{4}-*?\d\b` | Matches a 10-digit number of the format NNNNN-*NNNN-N or NNNNN-NNNN-N delimited by hyphen. | 1 | | `\b\d{5} \d{4} \d{2}\b` | Matches a 10-digit number of the format NNNNN NNNN NN delimited by space. | 1 | | `\b\d{5}-\d{4}-\d{2}\b` | Matches a 10-digit number of the format NNNNN-NNNN-NN delimited by hyphen. | 1 | ### Ignored expressions **None**