Validates a Pakistani CNIC number.
Accepts 3520212345671, 35202-1234567-1, 35202 1234567 1 and Urdu digits. Separators must sit between the 5-7-1 digit groups and be used consistently.
3520212345671
35202-1234567-1
35202 1234567 1
NADRA does not publish a check-digit algorithm, so this validates structure only.
The CNIC string to validate
true if the CNIC is valid, otherwise false
true
false
Validates a Pakistani CNIC number.
Accepts
3520212345671,35202-1234567-1,35202 1234567 1and Urdu digits. Separators must sit between the 5-7-1 digit groups and be used consistently.NADRA does not publish a check-digit algorithm, so this validates structure only.