Skip to main content
daken
Active Member
May 23, 2025 2:08 AM UTC
Solved

rename layer delete ($nn)

Is there a way to bulk delete all the number in the layer name with rename layer feature?
 

 

This topic has been closed for replies.
y_toku
y_tokuSolution
Community Support
May 27, 2025 2:57 AM UTC

Hi ​@daken 

 

If you want to remove only digits, how about  \d+ for Match field? The underscores still remain in this case. 

Alternatively, if you want to remove everything before names like "apple" (including any leading underscores and digits), try this pattern:

  • Match field: ^[_]*\d+[_]*

 

I hope this works!

 

Thanks,

Toku

4 replies

Ondrej_Pavlicek
Figma Ambassador
Figma Ambassador
May 23, 2025 7:08 AM UTC

Hi there,

You should be able to use $`-app' to remove the number prefix.

 

 

Hope it helps!

Product designer @ NETWORG | Designing Model-driven Power Apps in Figma | Power Apps DesignKit (Model-driven) | Disclosure: I’m part of Figma’s Forum Ambassador program.
daken
dakenAuthor
Active Member
May 26, 2025 7:22 AM UTC

Hi there,

You should be able to use $`-app' to remove the number prefix.

 

 

Hope it helps!

 

 

$` It does not work?
I would like to remain the current name and delete the number

y_toku
Figmate
y_tokuSolution
Community Support
May 27, 2025 2:57 AM UTC

Hi ​@daken 

 

If you want to remove only digits, how about  \d+ for Match field? The underscores still remain in this case. 

Alternatively, if you want to remove everything before names like "apple" (including any leading underscores and digits), try this pattern:

  • Match field: ^[_]*\d+[_]*

 

I hope this works!

 

Thanks,

Toku

daken
dakenAuthor
Active Member
Jul 5, 2025 5:01 AM UTC

Hi ​@daken 

 

If you want to remove only digits, how about  \d+ for Match field? The underscores still remain in this case. 

Alternatively, if you want to remove everything before names like "apple" (including any leading underscores and digits), try this pattern:

  • Match field: ^[_]*\d+[_]*

 

I hope this works!

 

Thanks,

Toku




its work 
thanks a lot