java – How can I separate elements from a string?

I would like to know how I can divide a channel. The channel I am working with is:

"12345, " Marcos ", 132 n " Juan ", 594".

What I want is to separate the string by removing the commas (,) and the line breaks ( n) so that they stay like this in an array:






I've tried doing it with split (), but I can only delete it or the comma or the line break and I want to reject both.

Greetings and thank you very much