Matlab User Input String Python Replace Char