Skip to main content

Find and replace only working one instance at a time


Tipton-king_Jonathan

When using find and replace to replace spaces “ “ with underscores “_” each time I ran it, it only replaced the FIRST space in the layer name and not ALL as expected. So to replace the spaces in a name like “this is an example name” I would need to run find/replace four times, like so:

  1. this_is an example name
  2. this_is_an example name
  3. this_is_an_example name
  4. this_is_an_example_name

Figma desktop app 125.2.3 on MacOS Sequoia 15.4

4 replies

  • Figmate
  • 2002 replies
  • April 24, 2025

Hi ​@Tipton-king_Jonathan, thanks for reaching out!

 

So, I understand that when you try to replace spaces (" ") with underscores ("_") using find and replace, it's only changing the very first space instead of all of them.

Thanks for sharing your computer details and Figma app version! I tried to reproduce this, but I'm not sure how to search for text layers that include space " " in order to try the replace. Could you possibly share a video that demonstrates the issue you're seeing? That would really help us try to replicate it on our end and connect you with the right team if needed.

 

Thanks,


Tipton-king_Jonathan

Sure no problem. The process to rename layers is to select them > command + R > use the “match” field to type in what you’re trying to replace and then the “rename” field to type in what you want to replace it with. It seems like it’s not limited to spaces, but rather the first instance of the “match” word. I would expect it to replace all instances of the “match” word at once.

Screen recordings:

https://drive.google.com/file/d/1K6tF-yoK0oNPZY5pQ5PhLJU-LXn_Csm2/view?usp=sharing

https://drive.google.com/file/d/1eW5j-r70Z_7tcDnXGyLEeOU8PuHXqtVb/view?usp=sharing


Tipton-king_Jonathan

Think I may have found another bug while using the find/replace feature instead of the rename feature. 

The find functionality works properly, but when checking “replace” it then looses the “find” results.

Screen recording:

https://drive.google.com/file/d/1SArQuQnSmPX4R6VB8xdO8IKZ_4AbrT1i/view?usp=sharing


  • Figmate
  • 2002 replies
  • April 25, 2025

Hi ​@Tipton-king_Jonathan, Thanks for your reply and for those recordings – they really help!
 

Okay, I see you're using the Match field in the Rename Layers modal, and I was able to reproduce that issue on my end too.
 

I totally agree that a full replace would be much better, and the good news is our engineers are already aware this is something our community want. Unfortunately, we can't give you an exact timeframe for when that will be implemented, but we appreciate you highlighting its importance.

 

To help out where I can, I've added your post to the report we already have on this. Hopefully, that will help it get more attention and maybe move it up the list!
 

Also, thanks for mentioning the other thing. However, that one might be working as expected. It's just a current limitation – as our Help Center article says, "Only text layers display as options to be replaced."

 

However, if you think it would be useful to include frame names in the Replace option, that's a great idea! We'd love for you to share that in our “Suggest a feature” category: https://forum.figma.com/suggest-a-feature-11

 

Thanks again for contacting us!


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