regex - java split function - Stack Overflow
You are trying to split the string on a back slash, you need to use: String regex = "\\\\"; \ is the escape character for both Java string and the regex engine. So a Java string \\ is passed on to the regex engine as \ whic...