I have a String String s = " ABCD 1122-12-12"
, i.e <space or single digit number>+<any string>+<space>+<date in YYYY-mm-dd>
format.
What could be the regex for String.split method or any other utility methods to split the above string into three parts
[0] = <space or single digit number> = " "
[1] = <string> = "ABCD"
[2] = <date in YYYY-mm-dd> = "1122-12-12"