Skip to content

Instantly share code, notes, and snippets.

@akalongman
Created June 1, 2015 12:23
Show Gist options
  • Save akalongman/167c39fc5332f12d23aa to your computer and use it in GitHub Desktop.
Save akalongman/167c39fc5332f12d23aa to your computer and use it in GitHub Desktop.
Regexp for converting underscore methods to CamelCase for Sublime Text
Search: function (\w+)_(\w)
Replace: function $1\U$2\E
If underscores is more then one, you can run this replace multiple time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment