"2/17/2014 11:55:00 PM"
I want to split the above string in Java into the following parts: 2, 17, 2014, 11, 55, 00, PM.
I was thinking of using something like-
String[] parts = string.split("[/ :]");
but it doesn't seem to be working. I would like to split everything in one command, if at all possible.