MATLAB - String Handling
The following MATLAB code is intended to replace all digits in
str with '#' but does not work as expected:
str = 'Room 101'; newStr = regexprep(str, '\d', '#'); disp(newStr);What is the error and how to fix it?
