how would i go about splitting the following format string into an array?
[13:05:37] [Server thread/INFO]: [0;35;1m[Server[0;35;1m] hi[m
the string format is from a mine craft server and i believe the format is
[time] [thread info]: ANSICOLOROPEN[stringANSICOLORCLOSE] string EOL
how could i split this so the array would be
[0]time
[1]thread info
[3]ansi open
[4]string
[5]ansi close
[6]string
[7]EOL marker