Powershell Extract String Using Regex In Javascript