I'm trying to replace a word from a string with another. For example I have to replace b4 with before and b4n with before now, but if I use the commands replace or regexprep the output for b4n is beforen. How can I match the entire word and not the characters?
MATLAB: How to replace an entire word with another
regexprepreplacetext analysisword processing
Best Answer