Powershell Replace Substring In String Python