文字列の分割について

Hi @CaptNob

Welcome To the Community!!

Check out these expressions

Split(System.Text.RegularExpressions.Regex.Replace("_____123_______12,345_____123.45","_+","_"),"_")(1)
Split(System.Text.RegularExpressions.Regex.Replace("_____123_______12,345_____123.45","_+","_"),"_")(2)
Split(System.Text.RegularExpressions.Regex.Replace("_____123_______12,345_____123.45","_+","_"),"_")(3)

If you needed in the array of string use this in your for each and loop through the items

Split(System.Text.RegularExpressions.Regex.Replace("_____123_______12,345_____123.45","_+","_"),"_")

image

Note: You will receive the first item as empty because your string is starting with “_”

Regards
Sudharsan

1 Like