I want my regular expression to be able to recognize a street address that ends in a zip code and starts with a number.
So if my sample string is
'abcd 123 abcd 1600 Penn Ave. Washington D.C. 12345 hello, world'
I want it to match only
1600 Penn Ave. Washington D.C. 12345
I'm stuck on using
.match(/\d+.*\d{5}/)
but this returns
123 abcd 1600 Penn Ave. Washington D.C. 12345
How can I get it to return the closest instance of numbers?