I've got a string with a bunch of multi-letter codes in it and I'd like to parse it out according to those codes. I'm not sure how to make it look at more than one character to determine if it forms part of a code.
My string looks like this:
BBCTEEBOBBB
and I want to parse out these instances:
E BB CT BOB
So the result should be output (or an array) that looks like this:
BB CT E E BOB BB