SyntaxFix
Write A Post
Hire A Developer
Questions
To split using a regex use /.../
/.../
lines = str.split(/\r\n|\r|\n/);