Help Python Replace String Example Code Java