Find Index Of Char In String Python Replace