Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

DHL/DPAG/HERMES RegEx for trackpackageextension.com

By: dvaerg on Apr 27th, 2012  |  syntax: XML  |  size: 4.37 KB  |  views: 227  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2.  
  3. <trackpackage>
  4.  
  5.         <regex carrier="German DHL/DPAG national shipping (branch office)" value="[A-Z]{3}\d{2}\.?\d{2}\.?(\d{3}\s?){3}" />
  6.         <regex carrier="German DHL/DPAG Europe shipping (branch office)" value="[A-Z]{3}\d{2}\.?\d{2}\.?\d{3}" />
  7.         <regex carrier="German DPAG certified mail/Einschreiben" value="RR\s?\d{4}\s?\d{5}\s?\d(?=DE)" />
  8.         <regex carrier="German DHL/DPAG (Packstation)" value="(\d{13}|\d{16})" />
  9.         <regex carrier="German DPAG cash on delivery/Nachname" value="NN\s?\d{2}\s?\d{3}\s?\d{3}\s?\d(?=DE(\s)?\d{3})" />
  10.         <regex carrier="German DPAG insured letter" value="RA\d{9}(?=DE)" />
  11.         <regex carrier="German DPAG express letter international" value="LX\d{9}(?=DE)" />
  12.         <regex carrier="German DPAG express letter list international" value="LX\s?\d{4}\s?\d{4}\s?\d(?=DE)" />
  13.         <regex carrier="German DPAG affidavit of service" value="XX\s?\d{2}\s?\d{3}\s?\d{3}\s?\d(?=DE)" />
  14.         <regex carrier="German DPAG posting docket for registered mail" value="RG\s?\d{2}\s?\d{3}\s?\d{3}\s?\d(?=DE)" />
  15.         <regex carrier="Hermes" value="^\d{11,16}$" />
  16.         <regex carrier="UPS" value="^(1Z)" />
  17.         <regex carrier="Canada Post" value="(CA)$" />
  18.         <regex carrier="FedEx" value="^\d{12,19}$" />
  19.         <regex carrier="USPS" value="\d{20,}" />
  20.         <regex carrier="DHL" value="^\d{10,11}$" />
  21.  
  22.         <url carrier="German DHL/DPAG national shipping (branch office)" front="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&amp;idc=" back="" />
  23.         <url carrier="German DHL/DPAG Europe shipping (branch office)" front="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&amp;idc=" back="" />
  24.         <url carrier="German DPAG certified mail/Einschreiben" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  25.         <url carrier="German DHL/DPAG (Packstation)" front="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&amp;idc=" back="" />
  26.         <url carrier="German DPAG cash on delivery/Nachname" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  27.         <url carrier="German DPAG insured letter" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  28.         <url carrier="German DPAG express letter international" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  29.         <url carrier="German DPAG express letter list international" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  30.         <url carrier="German DPAG affidavit of service" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  31.         <url carrier="German DPAG posting docket for registered mail" front="https://www.deutschepost.de/sendungsstatus/bzl/sendung/simpleQueryResult.html?local=de&amp;form.sendungsnummer=" back="" />
  32.         <url carrier="Hermes" front="http://tracking.hlg.de/Tracking.jsp?TrackID=" back="" />
  33.         <url carrier="UPS" front="http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=" back="&amp;TypeOfInquiryNumber=T&amp;AcceptUPSLicenseAgreement=yes&amp;submit=Track" />
  34.         <url carrier="Canada Post" front="http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=" back="&amp;LOCALE=en" />
  35.         <url carrier="FedEx" front="http://www.fedex.com/Tracking?tracknumbers=" back="&amp;action=track" />
  36.         <url carrier="USPS" front="https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=" back="" />
  37.         <url carrier="DHL" front="http://track.dhl-usa.com/TrackByNbr.asp?ShipmentNumber=" back="" />
  38.         <url carrier="Ensenda" front="http://www.ensenda.com/content/track-shipment?trackingNumber=" back="&amp;TRACKING_SEND=GO" />
  39.         <url carrier="UPS-mi" front="http://www.ups-mi.net/packageID/PackageID.aspx?PID=" back="" />
  40.         <url carrier="TNT" front="http://webtracker.tnt.com/webtracker/tracking.do?requestType=GEN&amp;searchType=CON&amp;respLang=en&amp;respCountry=US&amp;sourceID=1&amp;sourceCountry=ww&amp;cons=" back="" />
  41.         <url carrier="Purolator" front="http://shipnow.purolator.com/shiponline/track/purolatortrack.asp?pinno=" back="" />
  42.         <url carrier="Hong Kong Post" front="http://app3.hongkongpost.com/CGI/mt/genresult.jsp?tracknbr=" back="" />
  43.  
  44. </trackpackage>