Figma Support Forum

Regex operations, changing the case of letters

I have been trying to use the batch rename tool to modify the case of component names. For consistency I am trying to convert all names to CamelCase.

I have around 200 components labelled like:

“modal/signup/fullscreen”

and I’m trying to convert to

“Modal/Signup/Fullscreen”

Though I have the regex pattern to make the change, it seems that regex operations don’t work in the “rename to” field in the rename modal. Using “\U” appears to have no affect in modifying the case. I’ve tried several variations.

Has anyone had any success?