usSsnStrict constant

Pattern const usSsnStrict

US SSN (Social Security Number) - Strict format: XXX-XX-XXXX Invalid prefixes like 000, 666, and 900–999 are not allowed Example: 123-45-6789

Implementation

static const Pattern usSsnStrict =
    r'^(?!000|666|9\d{2})\d{3}-(?!00)\d{2}-(?!0000)\d{4}$';