I am trying to parse and address to pull out the zip code from and address and it have written this regex \s(\d{5}[^a-zA-Z]*)\s and it works perfect until I hit an address that has a house number that matches that pattern.
Example:
| David Rose PO Box 31741 Little Rock, Arkansas 72148 Unites States |
| 74168 River Bend Road Searcy, Arkansas 72149 United States |
I don't know if there a work around or if that is just something i just have to live with.