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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find UK Tax Code 2018
Expression
^(NT|SD2|S?(0T|D[01]|BR|K[1-9][0-9]{0,5}|[1-9][0-9]{0,5}[LMNT]))$
Description
UK tax codes can be one of the following fixed formats: 0T, BR, D0, D1 and NT. Or, they can be a number following by one of the following letters LMNT, or a K followed by a number. All of the above can also be prefixed by a letter S (to indicate Scottish) except for the NT code. Scottish regime also has a D02 code.
Matches
BR | SBR | 1150L | S1150M | K950 | SK950 | D02
Non-Matches
SNT | 1150X | K0
Author Rating: Not yet rated. Adrian Parker
Source
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