Powershell Replace Text In Array Python Definition Function Of Three