title: splitting a string based on multiple char delimiters
body: <p>I have a string "4,6,8\n9,4"</p>
  
  <p>I want to split this based on ,and \n</p>
  
  <p>Output array should be </p>
  
  <pre><code>4
  6
  8
  9
  4
  </code></pre>
  
  <p><strong>Edit :</strong></p>
  
  <p>Now i am reading string from console , when i enter a string as above in console , in the code behind i get as <code>"4,6,8\\n9,4"</code> . Now that i want to split using <code>"," and "\\n"</code> . How can i change the expression ? </p>