title: Where is a good Address Parser
body: <p>I'm looking for a good tool that can take a full mailing address, formatted for display or use with a mailing label, and convert it into a structured object.</p>
  
  <p>So for instance:</p>
  
  <pre><code>// Start with a formatted address in a single string
  string f = "18698 E. Main Street\r\nBig Town, AZ, 86011";
  
  // Parse into address
  Address addr = new Address(f);
  
  addr.Street; // 18698 E. Main Street
  addr.Locality; // Big Town
  addr.Region; // AZ
  addr.PostalCode; // 86011
  </code></pre>
  
  <p>Now I could do this using RegEx. But the tricky part is keeping it general enough to handle any address in the world!</p>
  
  <p>I'm sure there has to be something out there that can do it.</p>
  
  <p>If anyone noticed, this is actually the format of the <a href="http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.Address" rel="noreferrer">opensocial.address</a> object.</p>