Regular Expression to Capture PO Box using PHP
Posted on 2004-10-21
$result=preg_grep("/((P\.?O\.?(B\.?)?(\s+Box)?)|(Post\s+Office(\s+Box)?))\s*#?[0-9]+/", $addr, $regs);
I am a new member and this is my very first post. It was my intention follow etiquette. Please let me know if I have stepped out of bounds.
Thanks in advance.