Identity
en-GB
#nino
#uk
#national-insurance
#identity
UK National Insurance Number (NINO)
Matches a UK National Insurance Number in the format AA 99 99 99 A.
✓ UK employment forms✓ Tax credit applications✓ NHS registration
✓ Valid Examples
- AB 12 34 56 A
- AB123456A
- QQ 12 34 56 C
✗ Invalid Examples
- DA 12 34 56 A
- AB 12 34 56 E
- 12 34 56 78 A
Usage & Integration
Validate UK National Insurance Number (NINO) natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('uk-nino', '...');Python
from regexto_validators import validate
validate("uk-nino", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("uk-nino", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('uk-nino', '...');Rust
use regexto_validators::validate;
let is_valid = validate("uk-nino", "...").unwrap();