Powershell String Replace Regex Javascript