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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find UPS - United States format
Expression
^(?:1[Zz])(?<ShipperNumber>[A-z\d]{6})(?<ServiceCode>[A-z\d]{2})(?<PackageId>\d{8})$
Description
Uses named capture groups to extract components. More information on the components meanings can be found on the wikipedia page list in the source.
Matches
1z5475953256813457 | 1Z9999999999999999
Non-Matches
non | matching | examples
Author Rating: Not yet rated. Matthew Harris
Source https://en.wikipedia.org/wiki/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-2024, RegexAdvice.com | ASP.NET Tutorials