JS New Line Regex

/[\n\r]/g
KostasX