RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Ultimate PO BOX finder
Expression
[p|P][\s]*[o|O][\s]*[b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]+(ffice|FFICE)?\.?\s*[B|b][O|o|0]?[X|x]+\.?\s+[#]?(\d+)*(\D+)*\b
Description
Modified version- to capture the PO BOX based on user input on the website - It will not include any Rural Route or any University Box
Matches
PO Box N,P O Box125,HC73 P.O. Box 217,P.O Box 0129,pobox123, P O Box124
Non-Matches
777 Post Oak Blvd,PSC 477 Box 396,RR 1 Box 1020
Author Rating: The rating for this expression. Senjaya Harianto
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials