Skip to content

Instantly share code, notes, and snippets.

@schappim
Created October 12, 2020 21:01
Show Gist options
  • Save schappim/cb4fb36c80a8c80b612737f3185f18e4 to your computer and use it in GitHub Desktop.
Save schappim/cb4fb36c80a8c80b612737f3185f18e4 to your computer and use it in GitHub Desktop.
Regex to Detect Australian PO Boxes / Parcel Lockers
/((p(\s|\.)*o(\s|\.)*box|\(box(\s|\.))|lpo(\s|\.)|^box(\s|\.)|post(\s|\.)office\W|(Parcel|Collect|locker|Newsagency|locked\Wbag)\W)/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment