Hi
We validate the national insurance number (which allows for a space) using the following pattern value:
[A-C,E,G,H,J-P,R-T,W-Z][A-C,E,G,H,J-N,P,R-T,W-Z][0-9][0-9][0-9][0-9][0-9][0-9][A,B,C,D, ]
(note: that in your example above the letter O would be accepted as the second character, which is not allowed).
The issue that we are having is that when we import a student into LIS that has a national insurance number with a space on the end (the 9th character), the LIS software removes the space automatically and therefore makes the NI number invalid.
It probably is rare to have a student with a space on the end of their national insurance number, but we seem to have one.
Darren.