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 (2024). FindAndReplaceInAllFiles (https://www.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
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.