Is there a way to create a chain of regex to capitalize a string and than remove all characters -
from it in Visual Studio Code snippets?
"body": [
"const ${TM_FILENAME_BASE/([a-z])(\\w+)/${1:/upcase}$2 /['-.']// /g};
]
Wanted Result:
File Name: user-name.js
Snippet: const UserName
Thanks!