Determine numbers from character string

Hello everyone,

I am facing the following challenge and I need some help.

I have a file name from which I need the individual numbers, which are separated by a semicolon.

Dateiname Bsp: “219593;220210;230056;220473;219588_Kundenkommunikation”

Result:
219593
220210
230056
220473
219588

My approach is a For Each Loop, I have counted the number of semicolons, but I don’t know how to determine the numbers

System.Text.RegularExpressions.Regex.Matches(219593;220210;230056;220473;219588_Kundenkommunikation,“;”).Count>0

1 Like

perfect, just as I imagined it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.