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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Parcelforce - International tracking of imports
Expression
^[A-z]{2}\d{9}(?![Gg][Bb])[A-z]{2}$
Description
UK Parcelforce delivery tracking code for international tracking of imports. Uses a negative look ahead to prevent it ending in GB which would be an international export code.
Matches
AA123456789AA
Non-Matches
AA123456789GB | AA123456789gb | AA123456789Gb | AA123456789gB
Author Rating: Not yet rated. Matthew Harris
Source http://www.parcelforce.com/help-and-advice/sending-worldwide/tracking-number-formats
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-2018, RegexAdvice.com | ASP.NET Tutorials