I have following file content
NAD+DP+++Test GmbH & Co. KG:Filiale Test:Test+Groß Test Straße 96-98+Berlin++13452+DE'
and i want to get all the strings between the + segments. Even if they are empty. Any ideas? We tried it with [A-Za-z0-9\ß\p{L}&.-]
but with that we don't get all string seperated.
(?<![^+])[^+\n]*
10 matches
0-3 NAD
4-6 DP
7-7 empty string
8-8 empty string
9-45 Test GmbH & Co. KG:Filiale Test:Test
46-68 Groß Test Straße 96-98
69-75 Berlin
76-76 empty string
77-82 13452
83-86 DE'