Powershell String Replace Regex Python Practice