Sublime snippet change case as well as replace underscores with spaces in mirrored text
问题 I have several snippets for creating form elements in sublime text 2 for blade. In order to make the snippets more sufficient, I would like to add the functionality to convert the case in the mirrored text to Title Case as well as separate the words with spaces instead of underscores. This is a snippet from my snippet ;) {{ Form::label('$1', '${1/\b(\w*)\b/\u\1/g}') }} Right now when I type at position $1, the mirror text gets converted to title case. So, the result in the blade document