A quick experiment shows that we can drop everything but the number:
http://tidesonline.nos.noaa.gov/data_read.shtml?station_info=9414290
Some digging shows that each station code is prefixed by a zip code. This number might be a zip+4.
It doesn't matter as the codes are all listed on the web pages.
The data we need is located inside a XHTML pre element and so can be parsed.