I have to pars strings as one below:
String input = "{\"1\",\"2\",\"3\"}";
As an output I want to have an array of string with only numbers, something like that:
String[] output = new String[]{"1","2","3"};
My current working solution is:
String[] output = input.replaceAll("\\{|\\}|\"", "").split(",");
Are there any other solution that could do the same? More readable or relevant?