Hacker News new | ask | show | jobs
by ankhmoop 6197 days ago
If you really care, use a real standards-comformant address parser, most languages have at least one -- Java does. Otherwise you're just wasting your time, and the time of any users you hose with your amateur-hour validation.