replace specific character in string python if code example Example: python replace string string.replace(old, new, count)