The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Indian Aadhaar Number

Prev Next

Aadhaar number is a 12-digit random number issued by the Unique Identification Authority of India to the citizens of India after satisfying the verification process. Any individual, who is a resident of India, can voluntarily enroll to obtain Aadhaar number.

Validator

India Aadhaar Number — Uses Verhoeff algorithm to validate checksum digit.

Matched expressions

Regex expressions

Description

Score

\b[2-9][0-9]{11}\b

Matches a 12-digit number of the format NNNNNNNNNNNN beginning with 2–9.

1

\b[2-9][0-9]{3} [0-9]{4} [0-9]{4}\b

Matches a 12-digit number of the format NNNN NNNN NNNN that begins with 2–9 and delimited by space.

1



Ignored expressions

None