PeopleĀ® allows you to set up validation for the NI/SSN field using a regex. This is optional.

Regex is a technical mechanism for specifying validation rules in a very flexible way.Ā 

We've put some favourites together for you:

  • UK NI number validation: ^([a-zA-Z]){2}( )?([0-9]){2}( )?([0-9]){2}( )?([0-9]){2}( )?([a-zA-Z]){1}?$
  • USA SSN validation: ^(\d{3}-?\d{2}-?\d{4}|XXX-XX-XXXX)$

If the validation is blank, no validation is done.


Customer Services Team

Did this answer your question?