Joined January 2014
·

Peter Coles

New York
·
·

Posted to Convert snake-case to camelCase over 1 year ago

Btw, snake case looks_like_this, your example is for converting hyphen separated words into camel case.

To do snake case, the regex in your example should look like this:

/(_\w)/g
Achievements
2 Karma
0 Total ProTip Views