I\'ve wondering is there a regex pattern that i could use to convert a pattern which is an underscore and a lowercase letter into an uppercase letter. I\'m trying to generat
To do this on regexp level you have to use \U
to switch on uppercase mode and \E
to switch it off. Here is an example how to use this feature in IntelliJ IDEA find-and-replace
dialog which transforms set of class fields to JUnit assertions (at IDE tooltip is a result of find-and-replace
transformation):