SIN (Canadian SSN) Validation Pattern
Does a regular expression exist to validate a SIN (Canadian SSN) in content filtering?
There's not much point in using the basic regex as they block anything from 111-111-111 to 999-999-999 with zero validation.
I see a US SSN (Premium) pattern exists but not Canadian.
Here are some rules on SIN validation and a full perl example: