Find and replace in selection

Find and replace in currently selected editor text.
964 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 (2024). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

The selection is now maintained after replacement.

1.0.0.0