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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Accounts Office Reference
Expression
[0-9]{3}P[A-Z][0-9]{7}[0-9X]
Description
HMRC Accounts Office Reference (AORef) in format 3digits, the letter P and another letter followed by 7 digits and either an 8th digit or letter X
Matches
123PA12345678|451PW1234523X
Non-Matches
A01PA12345678|123RA1234567X
Author Rating: Not yet rated. PJWhitfield
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-2024, RegexAdvice.com | ASP.NET Tutorials