O
offsky
I am not very good at regular expressions and I was hoping that someone
could help me out with something that should be fairly simple. I have
a string which contains an address "12345 Main St. Sometown, CA 92000"
I want a regular expression that will match the last occurance of a 5
digit number (the zipcode and not the street address).
My best attempt has been /([0-9]){5}/ which matches the first 5 digit
number. Any help would be much appreciated.
Thanks
could help me out with something that should be fairly simple. I have
a string which contains an address "12345 Main St. Sometown, CA 92000"
I want a regular expression that will match the last occurance of a 5
digit number (the zipcode and not the street address).
My best attempt has been /([0-9]){5}/ which matches the first 5 digit
number. Any help would be much appreciated.
Thanks