Powershell Check Stringregex Replace