RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find UK NINO - National Insurance Number
Expression
\b([A-CEGHJ-PR-TW-Z]{1}[A-CEGHJ-NPR-TW-Z]{1}(?<!BG|GB|NK|KN|TN|NT|ZZ))[0-9]{6}[A-DFM]{1}\b
Description
First letter cannot be: D, F, I, Q, U, or V Second letter cannot be: D, F, I, O, Q, U, or V The first two character combinations BG, GB, NK, KN, TN, NT, and ZZ are not used. Followed by 6 digits (0-9) Finished by a suffix: A, B, C, D, F, or M
Matches
JG103759A AP019283D AB103455B SS345603D
Non-Matches
CK945723N BG103442A NT834238A ZZ834758A
Author Rating: The rating for this expression. Raymond Jett
Source Me
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials