Skip to main content
Solved

rename layer delete ($nn)


daken
  • Active Member
  • 32 replies

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

View original

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
  • 32 replies
  • May 26, 2025
Ondrej_Pavlicek wrote:

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
  • 2545 replies
  • 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
  • 32 replies
  • July 5, 2025
y_toku wrote:

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 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings