I searched this for a search and found out how to do this with other regex parsers:
http://vim.wikia.com/wiki/Changing_case_with_regular_expressions http://www.regular-expressions.info/replacecase.html
I tried and did not work. As an example, I want to use a regex to change this:
private String Name; private Integer Bar = 2;
For this:
private String Name; private Integer Bar = 2;
I tried something like this:
replace: private (\S+) (\S+) with: private $1 $L$2 with: private $1 \L$2 with: <etc.>
None of them work. Is it possible to do this in intellij, or is it a missing function? This is for educational purposes only, and this example is contrived. I just want to know if this can be done in intellij.
java regex intellij-idea
Daniel Kaplan Jun 10 '14 at 20:08 2014-06-10 20:08
source share