I'd like to replace Context
in myAppContext
and upper case on tab pressing, so the end result should be MyApp
.
I would rather do it all at once. Here's where I started.:
To remove 'Context' I can do ${1/Context//}
and for uppercase: ${1/(^[a-z])/${1:/upcase}/}
.
What is the best way to combine these two?