Powershell String Replace Method Python