The problem with points is solved with string.split("[.]") .
The problem with vertical bars is solved with string.split("\\|").
The problem with asterisks is solved with string.split("\\*").
The problem with slashes is solved with sring.split("\\\\").
The problem with square brackets is solved with sring.split("\\[\\]").
Transfer: http://blog.csdn.net/a280966503/article/details/78822094