/    Sign up×
Community /Pin to ProfileBookmark

Structured Address Regex

Hi Guys,

Anyone have a regex for a structured address handy?

Thanks

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@RodionGorkMar 08.2012 — 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).

Or you mean "Structured" in this sense: http://www.datadictionaryadmin.scot.nhs.uk/isddd/1881.html and need no any verification for it?
Copy linkTweet thisAlerts:
@ssystemsauthorMar 08.2012 — Structured Address. So from any input that is parsed accordingly by regex. Take a look at Google maps.
Copy linkTweet thisAlerts:
@RodionGorkMar 08.2012 — 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?)
×

Success!

Help @ssystems spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...