Malaysian identity card number (NRIC)
ID my_nric
DatatypePersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
National Registration Identity Card number (MyKad number) of Malaysian citizens and permanent residents. It has twelve digits: the date of birth (YYMMDD), a 2-digit birth place code and four digits, the last of which is odd for males and even for females. It is often written with hyphens after the sixth and eighth digits.
- Categories
- Personally identifiable information, Person related
- Countries
- Malaysia
- Languages
- Malay, English
- W3C DPV
pd:OfficialID- Microsoft Purview
Malaysia Identity Card Number,Malaysia identification card number- python-stdnum
stdnum.my.nric- Quality
- 95/100 · missing: translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- AWS Glue Sensitive Data Detection, Azure AI Language PII detection, DataPrep, Microsoft Purview Data Loss Prevention, Nightfall AI, python-stdnum
Regular expression
^\d{6}-?\d{2}-?\d{4}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 440521161293 | Synthetic number in the documented format |
| 380220029348 | Synthetic number in the documented format |
| 440521-16-1293 | The first example in its printed form |
| 4405211612937 invalid | One character too many |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Malaysian_identity_card
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.my.nric.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_my_nric.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/my_nric - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/MY/persons/my_nric.yamlon GitHub