Find and replace in selection

Find and replace in currently selected editor text.
976 Downloads
Updated 21 Sep 2012

View License

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 (2026). 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 Linux
Categories
Find more on Environment and Settings in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.0

The selection is now maintained after replacement.

1.0.0.0