How can I convert names with underscores into camel case names as follows using a single Java/Perl regular expression search and replace?
underscore_variable_name -> underscoreVariableName
UNDERSCORE_VARIABLE_NAME -> underscoreVariableName
_LEADING_UNDERSCORE -> leadingUnderscore
The reason I ask for a single regular expressions is that I want to do this using Eclipse or Notepad++ search and replace.