본문 바로가기

underscore to camel case notation

카테고리 없음 by 낼스 2020. 11. 21.

# underscore to camel case notation

Regex:
_([a-z0-9])

Replace with:
\U$1

// BEFORE:
db_column_name

// AFTER:
dbColumnName

# camel case to underscore notation

  • editplus

  • 찾을말 : ([a-z])([A-Z]+)

  • 바꿀말 : $1_$2

# 출처: https://czar.tistory.com/1040 [너는 개발자냐?]

댓글