Remove line breaks/white space

                  exampleString.replace(/\r\n|\s{2,}/gm,"");