piighost/ca-sin

Canadian social insurance number: nine digits in three groups of three, separated by a space or a hyphen. The separator is required here on purpose: without it the pattern would be the same nine bare digits as the US bank routing number and the Dutch BSN.

Label: CA_SIN

Pattern

(?<!\d)\d{3}[\s-]\d{3}[\s-]\d{3}(?!\d)

Must be caught

Must be left alone

Tags: ca, government-id, identity

Download the detector as TOML