New topic: U.S. postal address parser
<http://forums.realsoftware.com/viewtopic.php?t=32159> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message pony Post subject: U.S. postal address parserPosted: Sat Jan 23, 2010 10:06 pm Joined: Sat Nov 11, 2006 2:43 pm Posts: 467 Location: DFW area, Texas, USA I'm need to parse mailing addresses from any number of sources. I'm hoping someone else has a parser they are willing to share. I need to separate the address in to individual fields - name company name suite street address city state zip I have been building out the method, and it is getting more and more complex. I need to take in to account missing commas, 9 digit zips or 5 digit zips, the presence of a suite or not, the possibility of a name and company name, the address being on a single line and multiple lines, states being fully spelt or just two digit codes, etc. It currently works for about 98% of addresses, but its a behemoth of a method with hack after hack inserted to work around issues I found over the months. I decided it needs a rewrite, and then wondered if it had already been done by someone willing to share. _________________ Fly like a mouse, run like a cushion, be the small bookcase. http://www.wish-sandwich.com Top DaveS Post subject: Re: U.S. postal address parserPosted: Sun Jan 24, 2010 12:01 am Joined: Sun Aug 05, 2007 10:46 am Posts: 1990 Location: San Diego, CA Good luck with that one...... its not as easy as it sounds The company I work for uses a package called "MELISSA"... but its very large, very very expensive _________________ Dave Sisemore MacPro, OSX 10.5.8 RB2009r5.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
