Java splitting string by custom regex match
- by slikz
I am completely new to regular expressions so I'm looking for a bit of help here.
I am compiling under JDK 1.5
Take this line as an example that I read from standard input:
ab:Some string po:bubblegum
What I would like to do is split by the two characters and colon. That is, once the line is split and put into a string array, these should be…