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.

US Social Security Number (SSN)

Prev Next

US SSN is a 9-digit Social Security number and is the first and continuous connection with Social Security.

Validator

None

Matched expressions

Regex expressions

Description

Score

(?:\b(?:0[1-9][0-9]|00[1-9]|[1-5][0-9]{2}|6[0-5][0-9]|66[0-5789]|7[0-2][0-9]|73[0-3]|7[56][0-9]|77[012])(?:0[1-9]|[1-9][0-9])(?:0[1-9][0-9]{2}|00[1-9][0-9]|000[1-9]|[1-9][0-9]{3})\b)

Matches a 9-digit SSN without a delimiter.

1

(?:\b(?:0[1-9][0-9]|00[1-9]|[1-5][0-9]{2}|6[0-5][0-9]|66[0-5789]|7[0-2][0-9]|73[0-3]|7[56][0-9]|77[012]) (?:0[1-9]|[1-9][0-9]) (?:0[1-9][0-9]{2}|00[1-9][0-9]|000[1-9]|[1-9][0-9]{3})\b)

Matches a 9-digit SSN delimited by space.

1

(?:\b(?:0[1-9][0-9]|00[1-9]|[1-5][0-9]{2}|6[0-5][0-9]|66[0-5789]|7[0-2][0-9]|73[0-3]|7[56][0-9]|77[012])-(?:0[1-9]|[1-9][0-9])-(?:0[1-9][0-9]{2}|00[1-9][0-9]|000[1-9]|[1-9][0-9]{3})\b)

Matches a 9-digit SSN delimited by hyphen.

1

(?:\b(?:0[1-9][0-9]|00[1-9]|[1-5][0-9]{2}|6[0-5][0-9]|66[0-5789]|7[0-2][0-9]|73[0-3]|7[56][0-9]|77[012]) - (?:0[1-9]|[1-9][0-9]) - (?:0[1-9][0-9]{2}|00[1-9][0-9]|000[1-9]|[1-9][0-9]{3})\b)

Matches a 9-digit SSN delimited by space-dash-space.

1



Ignored expressions

None