Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

Adresse erfassen mittels RegEx

$
0
0
Hello all,

I have a question regarding regex address capture.

I have the following address:

Harald Sturm
Schönstrasse 18a
60311 Frankfurt am Main

I want to split this string into 4 components with 4 different regex to do that.

Name: Harald Sturm. (The whole first line)
Street: Schönstrasse 18a (The whole second line)
ZIP CODE: 60311 (First digital part of the sentence )
Location: Frankfurt am Main (Last part of the sentence)

Question for the regex experts: What would each regex expression for this look like ?

Many thanks in advance.

Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>