Regex Replace with uppercase

I'm trying to do a regex search and replace where the replace changes the case of one of the parts.

So I have:
foo_bar
foo_baz

And I want:
fooBar
fooBaz

My search:
(foo)_(.)

My replace:
$1$2

Is there a way to transform $2 to uppercase during the replace?

Thanks,
Neil

1 comment

Hi there,

Is there a way to transform $2 to uppercase during the replace?


http://youtrack.jetbrains.com/issue/IDEA-70451

0

Please sign in to leave a comment.