




^\d{12}$ however they can also start with 0or 00. Tracking number information is the same, no matter how many 0 you put in front, but those are completely different patterns that you need to account for as well ^0*\d{12}$. So you need to be aware that some carriers do not really handle tracking numbers as STRINGS to match but as numbers.0upfront can be the difference between returning the tracking information and not.0213-AF64-0411-EBDE but redirect to 0213AF640411EBDE. See https://www.royalmail.com/track-your-item#/tracking-results/0213-AF64-0411-EBDE and https://www.royalmail.com/track-your-item#/tracking-results/0213AF640411EBDE .
— and uses what is left from the tracking number to map it. However, knowing this information and adjusting it for all possibilities, increases the chance for multiple carriers to map to the same tracking number pattern. As well as unneeded complexity is added to your services.


Posted May 13, 2025
Iterating over the Core Product Features for Shipment tracking of Rush SaaS, a Shopify App.
0
2
Feb 1, 2020 - Jan 1, 2024

Rush