in reply to splitting a string on a reqexp

What error do you get?

When dealing with syntax errors, (and also almost every other error), I find it most helpfull to eliminate things until the error goes away.

Have you looked at the examples in the split documentation and compared them to your code?