FindAndReplaceInAllFiles
Version 1.1.0 (2.02 KB) by
Stefan Schuberth
replaces text in multiple files
FindAndReplaceInAllFiles - replaces text in multiple files
Extends the global find (shift+ctrl+F) window by a global
find and replace option.
Usage:
FindAndReplaceInAllFiles(directory,textA,textB)
textA is searched in all files in the directory and replaced by textB.
The current directory is '.' Otherwise use the standard shell/bash syntax
for directory also using wildcards. Add \** at the end of the directory
if you want to include files from all subdirs.
Cite As
Stefan Schuberth (2026). FindAndReplaceInAllFiles (https://uk.mathworks.com/matlabcentral/fileexchange/132228-findandreplaceinallfiles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
