Could anyone tell me how I could extract a Zip code from a string with a regular expression?
I need to grab all of the zip codes from a text file and store them in an array.
any ideas?
thanks
You need to provide a sample of the file before I can give you a specific regular expression.
Also, I assume you want a php based one. They are not quite the same as Unix reg exs.
--brian