Powershell Regex Replace Function Python