I am batch renaming layers and need to change the case from mixed case to lowercase. (A simple example: “ICON_brand_IconNameHere_Primary” → “icon_brand_iconnamehere_primary”).
According to this Figma article, the Rename Layers tool should support regular expressions. I’ve used this in the past to successfully edit prefixes and suffixes, but it isn’t working for changing cases. I’ve tried using the following expressions:
Match:
([A-Z]+)
Successfully matches capital letters
Replace:
\L$1
I’ve tried variations on this, and instead of changing the case, it just inserts “\L$1” wherever capitals exist in the original.
How can I achieve this?