Find and replace in selection
Version 1.1.0.0 (1.5 KB) by
Sam Johnson
Find and replace in currently selected editor text.
Uses the MATLAB Editor API and STRREP to find and replace all occurrences of a substring within the currently selected editor text.
Cite As
Sam Johnson (2025). Find and replace in selection (https://www.mathworks.com/matlabcentral/fileexchange/38264-find-and-replace-in-selection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Environment and Settings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.