Java: How to turn a text file with string in format {i,j},{i,j},{i,j} into a 2-dimensional array? : <p>My text file is as follows :
{11-11,22},{33-33,44},...{88-88,99}</p>

<p>How can I turn this into a 2 dimensional array in Java in the form:
[[11-11,22],[33-33,44],...[88-88,99]]</p>
