Lol. That'd be because Einstein here thought "\n" but typed "\c". Fixed up, this should work:
array = Regex.Split("(?:\r\n?|\r?\n)", myText) 'might even work without the "?:"
and if you want it to do the equivalent of your handling 0A or 0D 0A but
not 0D alone, then this should work:
array = Regex.Split("(?:\n\r?)", myText) 'might even work without the "?:"
View attachment 110158
edit: I understand you'll probably stick with the .Replace, but I've fixed my stuff-up just in case anyone else reading this in the future likes the regex-does-it-all method
edit: and this'd be even simpler (if it works):
array = Regex.Split("(?:\r\n|\n|\r)", myText) 'might even work without the "?:" and/or the "("..")"