I have a string with format "[ANY_TEXT][ANY_TEXT] ANY_TEXT." How I can split this text in 3 variables: leftPart, middlePart, rightPart ?