excel replace characters from string code example Example: excel replace character =SUBSTITUTE(text,old,new)