Code for recognizing delivery company by track
All companies use their own tracking number format, so I have created special regular expressions for all of them. I've investigated formats in the official documentation of delivery companies. This solution works for the following services:
You can read how it works here - https://andrewkurochkin.com/blog/code-for-recognizing-delivery-company-by-track.