카테고리 없음

[notepad++] SNAKE_CASE to camelCase

냐옴 2019. 9. 25. 02:00

방법1

lowercase all ctrl+u
replace (regex mode)

find: (_)([A-Za-z]{1})

replace: \U\2

 

방법2

Proper Case 처리

find: (_?)([a-zA-Z0-9]{1})([a-zA-Z0-9]+)

replace: \U\2\L\3

첫글자 소문자 처리

find: (^\s*[a-zA-Z0-9]{1})

replace: \L\1