java split string of array brackets code example Example: split with scquere braket in java line.split("\\[");