I have a regular expression in JavaScript to split my camel case string at the upper-case letters using the following code (which I subsequently got from here):
a = 'threeBlindMice' a.match(/[A-Z]?[a-z]+/g) // [ 'three', 'Blind', 'Mice' ]
is the simplest way I've found, for simple camel/titlecase splitting.