Click here to Skip to main content
12,826,440 members (27,731 online)
Click here to Skip to main content
Add your own
alternative version


21 bookmarked
Posted 2 Nov 2005

Getting Zip+4 from

, 2 Nov 2005
Rate this:
Please Sign up or sign in to vote.
Getting Zip+4 from


I must start by stressing that this is for educational purposes only!! Ok, now that I got that out of the way.

The purpose of this project is to demostrate how to extract data from a website.

Lets get right to the good stuff.....the code!

The Code

The first step is to format the url with all the required information.

<P><FONT color=#0000ff size=2>Function</FONT>
<FONT size=2><P>strAdd = ReplaceSpaceWithPlusSign(txtAddress.Text)</P>

Now that you have the correcly formatted URL pass it to a function to read the websites source code.

<FONT size=2><P></FONT>

Now that you have the source code pass it to another function that uses regular expressions to find the zip code.

<FONT size=2><P></FONT>

Thats it!!


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Ryan Rader
Web Developer
United States United States
Specialize in interfacing SAP and .net applications.

You may also be interested in...


Comments and Discussions

Generalweb services Pin
yyyyyy8716-Oct-06 8:58
memberyyyyyy8716-Oct-06 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170326.1 | Last Updated 2 Nov 2005
Article Copyright 2005 by Ryan Rader
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid