Hi Creators,
We’re excited to announce that the new, faster Find/Replace All widget is now in beta. These enhancements enable you to work more efficiently with larger numbers of instances and more complex places in Roblox Studio.
Rebuilt in Luau with a more efficient architecture, the widget delivers much smoother performance when searching, navigating, and replacing thousands of matches.
Features
Find Next/Previous
Quickly move between results, wrapping from the last match back to the first (and vice versa). Collapsed files automatically expand to show the selected result.
Replace
Replaces the selected match and automatically moves to the next, opening and expanding files as needed.
Replace All
Replaces matches across all files with a confirmation prompt.
Expand/Collapse Files
Collapse files to hide matches or expand them to view all.
Improved Selection Behavior
Single-click opens matches in a temporary tab; double-click opens them in a permanent tab. Matched text is highlighted in the editor.
Enable the Beta
To start using the new Find/Replace All in Studio Beta, follow these steps:
- Open Studio and go to the ‘File’ menu.
- Click ‘Beta Features’.
- Check the box for ‘Improved Find All/Replace All’ and click Save.
- Restart Studio if prompted.
Getting Started
- Enable ‘Improved Find/Replace All’ in Studio’s ‘Beta Features’ menu in the ‘File’ dropdown.
- Open Find/Replace All:
- In Studio: In the ‘View’ dropdown menu, under ‘Show’, click Find All/Replace All.
- In Next Gen Studio: In the ‘Script’ tab, click Find, then choose Find All/Replace All.
- Alternatively, use the shortcut Cmd+Shift+F (Mac) or Ctrl+Shift+F (Windows) to open it directly.
Best Practices
- Shortcuts: Cmd+Shift+H (Mac) / Ctrl+Shift+H (Windows) opens the widget with the Replace panel visible. If text is highlighted in the editor, it is automatically prepopulated in the widget.
- Large Searches: There is a soft limit of 20,000 matches. If your search returns more than this, only a subset will be displayed. To replace more than 20,000 matches, run Replace All repeatedly until no results remain.
- Regex Validation: The search box will highlight in red when an invalid regex is entered, so you can quickly identify and fix regex errors.
Special thanks to @MoonRocketApollo, @Rusi_002, @idevride, @swmaniac, @montximontxi, @notchickennnnn, @yohooyohoo, @ignotuscaligo, and @bezzie_boi for helping us get here!
Happy developing!