split string from opening braket in java code example Example: split with scquere braket in java line.split("\\[");