in windows following regex pattern is working: ("\r\n\r\n?\n\r") But I tried with forward slashes, but not working on server. Sample Data to split:
ABC
XYZ
NMB
YHJ
VGH
So, after splitting above data we want 2 arrays of string like
string[0] = ABC
XYZ
string[1] = NMB
YHJ
VGH