title: Replacing \t, \n and white space in JS
body: <p>How to do I go about changing a string from &quot;\n        \t\t\t\t\t\t\tArthur Lynch        \t\t\t\t\t\t&quot; to &quot;Authur Lynch&quot; in javascript.</p>