\r\n?|\n
handles all EOL sequences without backtracking. Or write a non-regex equivalent of that.
I'm sure every time you split something on newlines you remember to use a regex.
I tend not to, because it's an overkill, but this regex nicely sums what needs to be done.