I have a question regarding address capture. Since I haven’t developed for years, my developer skills are rusty and I need your help.
I have the following address:
60311 Frankfurt am Main
I want to split this string into 4 components using regex.
Name: Harald Sturm. The whole first line
Street: The whole second line
ZIP CODE: 60311
Location: Frankfurt am Main
Question for the regex experts: What would the regex expression for this look like ?
Many thanks in advance.
Leave an answer