HELP!. I'm trying to split 1 text file into multiple text files

Hi,

Can you try the following sample?

arrStr = System.Text.RegularExpressions.Regex.Split(strData,"(?=^10/20)",System.Text.RegularExpressions.RegexOptions.Multiline).Where(Function(s) not String.IsNullOrEmpty(s)).ToArray

Sample20230228-3L.zip (2.7 KB)

Regards,

2 Likes