Replace to upper/low case with regex

\U$1 will set all chars contained into group $1 to upper case.

\U$1 will set the first char of the group $1 to upper case.

\L$1 will set all chars contained into group $1 to upper case.

\l$1 will set the first char of the group $1 to lower case.

E.g.

SOME_TEXT against regex _([a-z]+) replaced by \l$1 will produce SOME_tEXT

SOME_TEXT against regex _([a-z]+) replaced by \L$1 will produce SOME_text

 

 

Leave a Reply