Skip to main content
Solved

rename layer delete ($nn)

  • May 23, 2025
  • 4 replies
  • 139 views

daken

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

 

Best answer by y_toku

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

Hi there,

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

 

 

Hope it helps!


daken
  • Author
  • Active Member
  • May 26, 2025

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
  • Community Support
  • Answer
  • May 27, 2025

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
  • Author
  • Active Member
  • July 5, 2025

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