How to replace different variables with a single variable in a text file?
Show older comments
Hello everybody! I am not so used to editing and working with .txt files in MATLAB. I am looking for ways to replace multiple set of characters like '=' , '+', '-' with any single character like '%'. I guess I need to use regexprep for this purpose, but I am not able to figure it out for the .txt file. Any help will be appreciated. Thanks
2 Comments
Bob Thompson
on 14 May 2018
What do you mean by not being able to figure it out for the .txt file?
Tiasa Ghosh
on 15 May 2018
Accepted Answer
More Answers (0)
Categories
Find more on Variables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!