You'd better explain more thoroughly which kind of address parsing do you need, but I think I discourage you saying that regexps are almost useless for this problem since there could be different variants of the same address parts and even typos (when I was working with similar problem I needed to invent some special mechanism for this parsing).
I've seen this link, but I'm sorry, I do not quite understand:
You want to retrieve structured address from any arbitrary input?
Or you want to parse address which conforms with these rules but is written in one string with some separators?
(May you provide an example of conversion you want?)
Bookmarks