Test, validate and match regular expressions
This regex identifies U.S. post office box designations in address text, including variants like PO Box, P.O. Box, Post Office Box, Box, and Bin, with optional box numbers. It also handles rural route exclusions to reduce false matches. Useful for address parsing, data normalization, and extracting delivery location markers from freeform text.