how to read an address in multiple formats like google maps

Posted by ratan on Stack Overflow See other posts from Stack Overflow or by ratan
Published on 2010-03-03T13:48:48Z Indexed on 2010/03/22 9:41 UTC
Read the original article Hit count: 336

notice that on google maps you can input the address any way you like. as long as it is a valid address...google maps will read it.

In some ruby book I had seen code snippet for something like this, but with phone numbers.

Any ideas how this could be done for addresses?

in language of your choice.

EDIT:

i dont care about a "valid" address. I just want to parse an address. so that 123 fake street, WA, 34223 would be an address and so will 123 fake street WA 34223

© Stack Overflow or respective owner

Related posts about text-parsing

Related posts about language-agnostic