One line Javascript code to take a string and replace all tabs and multiple spaces with single space and create and create an array splitting at the new line character cleaning out blank lines from the array. Javascript is one powerful programming language.